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:
Mike Williams 2021-12-08 16:45:11 +00:00 committed by GitHub
parent cc93ddfd59
commit 90ecd51c32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,8 @@
# 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
command: "sleep {{ es_api_sleep }}"
wait_for:
timeout: "{{ es_api_sleep }}"
when: manage_native_realm | bool
- name: activate-license