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