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:
parent
127f8907d5
commit
c40f9dd298
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,10 @@
|
|||
- set_fact: manage_native_roles=true
|
||||
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
|
||||
|
||||
#List current users
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue