Resetup secondary node (galera)
parent
4a5a3ec75c
commit
70ffb6db90
|
@ -15,5 +15,7 @@
|
||||||
- name: SERVICE | Restart MariaDB if needed
|
- name: SERVICE | Restart MariaDB if needed
|
||||||
service: name=mysql state=restarted
|
service: name=mysql state=restarted
|
||||||
when: >
|
when: >
|
||||||
(galeraconfig or (p is defined and p.changed)) and
|
((galeraconfig or (p is defined and p.changed)) and
|
||||||
(bootstrap_run is not defined)
|
(bootstrap_run is not defined)) or
|
||||||
|
((inventory_hostname != mysql_galera_primary_node) and
|
||||||
|
(mysql_galera_resetup))
|
||||||
|
|
Loading…
Reference in New Issue