2023-10-20 15:41:44 -04:00
|
|
|
- name: Restart MariaDB
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: mariadb
|
|
|
|
state: restarted
|
2023-10-22 11:33:05 -04:00
|
|
|
when: not mariadb_restarted
|
|
|
|
listen: restart_mariadb
|
|
|
|
|
|
|
|
- name: Set MariaDB as restarted
|
2023-11-05 21:34:19 -05:00
|
|
|
ansible.builtin.set_fact:
|
2023-10-22 11:33:05 -04:00
|
|
|
mariadb_restarted: true
|
|
|
|
when: not mariadb_restarted
|
2023-10-20 15:41:44 -04:00
|
|
|
listen: restart_mariadb
|