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
|
|
|
|
set_fact:
|
|
|
|
mariadb_restarted: true
|
|
|
|
when: not mariadb_restarted
|
2023-10-20 19:41:44 +00:00
|
|
|
listen: restart_mariadb
|