ansible-roles/library/centos/roles/mariadb/tasks/disable-mariadb-service.yml

9 lines
187 B
YAML

---
- name: Stop and disable the mariadb server if we do not want it running
service: name=mariadb state=stopped enabled=no
when: not mysql_enabled
tags:
- mysql
- mariadb