Added a 15 sec pause before the Native User List command.

Command was run when the realm was not initialized yet, causing the playbook to fail.
This commit is contained in:
Jakob Reiter 2016-11-07 18:35:28 +01:00
parent 127f8907d5
commit c40f9dd298

View file

@ -16,6 +16,10 @@
- set_fact: manage_native_roles=true - set_fact: manage_native_roles=true
when: es_roles is defined and es_roles.native is defined when: es_roles is defined and es_roles.native is defined
# If playbook runs too fast, Native commands could fail as the Native Realm is not yet up
- name: Wait 15 seconds for the Native Relm to come up
pause: seconds=15
#If the node has just has shield installed it maybe either stopped or started 1. if stopped, we need to start to load native realms 2. if started, we need to restart to load #If the node has just has shield installed it maybe either stopped or started 1. if stopped, we need to start to load native realms 2. if started, we need to restart to load
#List current users #List current users