Ensure the role works when run in serial
The role tests execute in parallel however the integrated repo executes in serial. This change simply makes sure that this role always functions no matter the execution method. Change-Id: I3938eb54996a8ea5183cf4109b992451345b0585 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user