Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 90ecd51

Browse files
authored
command necessarily causes a change on each invocation breaking idempotency, wait_for accomplishes the same goal without the change (#831)
1 parent cc93ddf commit 90ecd51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383

8484
# If playbook runs too fast, Native commands could fail as the Native Realm is not yet up
8585
- name: Wait {{ es_api_sleep }} seconds for the Native Realm to come up
86-
command: "sleep {{ es_api_sleep }}"
86+
wait_for:
87+
timeout: "{{ es_api_sleep }}"
8788
when: manage_native_realm | bool
8889

8990
- name: activate-license

0 commit comments

Comments
 (0)