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

8 lines
169 B
YAML

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