Merge "Ensure the role works when run in serial"
This commit is contained in:
commit
ace579d94d
|
@ -81,6 +81,7 @@
|
|||
delegate_to: "{{ item }}"
|
||||
when:
|
||||
- hostvars[item]['galera_cluster_ready'] is defined
|
||||
- hostvars[item]['galera_deployed'] | default(false) | bool
|
||||
with_items:
|
||||
- "{{ ansible_play_hosts }}"
|
||||
run_once: true
|
||||
|
|
|
@ -91,3 +91,7 @@
|
|||
section: galera
|
||||
option: deployed
|
||||
value: true
|
||||
|
||||
- name: Set the galera existing cluster fact
|
||||
set_fact:
|
||||
galera_deployed: true
|
||||
|
|
Loading…
Reference in New Issue