mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-10-23 04:54:04 +07:00
Resetup secondary node (galera)
This commit is contained in:
1 parent
4a5a3ec75c
commit
70ffb6db90
1 file changed
+4
-2
@@ -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