Merge "Ensure the role works when run in serial"

This commit is contained in:
Zuul 2017-12-01 15:16:49 +00:00 committed by Gerrit Code Review
commit ace579d94d
2 changed files with 5 additions and 0 deletions

View File

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

View File

@ -91,3 +91,7 @@
section: galera
option: deployed
value: true
- name: Set the galera existing cluster fact
set_fact:
galera_deployed: true