ansible-role-mariadb/handlers/main.yml

6 lines
125 B
YAML

---
- name: restart mariadb
ansible.builtin.service:
name: mysql
state: restarted
when: mariadb_autorestart|bool