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