mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-02-24 10:13:30 +07:00
Resetup secondary node (galera)
This commit is contained in:
@@ -15,5 +15,7 @@
|
||||
- name: SERVICE | Restart MariaDB if needed
|
||||
service: name=mysql state=restarted
|
||||
when: >
|
||||
(galeraconfig or (p is defined and p.changed)) and
|
||||
(bootstrap_run is not defined)
|
||||
((galeraconfig or (p is defined and p.changed)) and
|
||||
(bootstrap_run is not defined)) or
|
||||
((inventory_hostname != mysql_galera_primary_node) and
|
||||
(mysql_galera_resetup))
|
||||
|
||||
Reference in New Issue
Block a user