Resetup secondary node (galera)

pull/14/head
Emilien Mantel 2016-10-03 12:30:26 +02:00
parent 4a5a3ec75c
commit 70ffb6db90
1 changed files with 4 additions and 2 deletions

View File

@ -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))