command necessarily causes a change on each invocation breaking idempotency, wait_for accomplishes the same goal without the change (#831)
This commit is contained in:
parent
cc93ddfd59
commit
90ecd51c32
1 changed files with 2 additions and 1 deletions
|
|
@ -83,7 +83,8 @@
|
||||||
|
|
||||||
# If playbook runs too fast, Native commands could fail as the Native Realm is not yet up
|
# If playbook runs too fast, Native commands could fail as the Native Realm is not yet up
|
||||||
- name: Wait {{ es_api_sleep }} seconds for the Native Realm to come up
|
- name: Wait {{ es_api_sleep }} seconds for the Native Realm to come up
|
||||||
command: "sleep {{ es_api_sleep }}"
|
wait_for:
|
||||||
|
timeout: "{{ es_api_sleep }}"
|
||||||
when: manage_native_realm | bool
|
when: manage_native_realm | bool
|
||||||
|
|
||||||
- name: activate-license
|
- name: activate-license
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue