Add configurable native realm sleep
This commit is contained in:
parent
f4e4216ed5
commit
7fd243827c
2 changed files with 3 additions and 2 deletions
|
|
@ -40,6 +40,7 @@ es_api_scheme: "http"
|
||||||
es_api_host: "localhost"
|
es_api_host: "localhost"
|
||||||
es_api_port: 9200
|
es_api_port: 9200
|
||||||
es_api_uri: "{{ es_api_scheme }}://{{ es_api_host }}:{{ es_api_port }}"
|
es_api_uri: "{{ es_api_scheme }}://{{ es_api_host }}:{{ es_api_port }}"
|
||||||
|
es_api_sleep: 15
|
||||||
es_debian_startup_timeout: 10
|
es_debian_startup_timeout: 10
|
||||||
|
|
||||||
# JVM custom parameters
|
# JVM custom parameters
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,8 @@
|
||||||
- (es_users is defined and es_users.native is defined) or (es_roles is defined and es_roles.native is defined)
|
- (es_users is defined and es_users.native is defined) or (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
|
# If playbook runs too fast, Native commands could fail as the Native Realm is not yet up
|
||||||
- name: Wait 15 seconds for the Native Realm to come up
|
- name: Wait {{ es_api_sleep }} seconds for the Native Realm to come up
|
||||||
command: sleep 15
|
command: "sleep {{ 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