Update conditional in Wait for Elasticsaarch API (Opendistro)
This commit is contained in:
parent
3c40f81939
commit
3c723a94ef
@ -64,7 +64,7 @@
|
|||||||
delay: 5
|
delay: 5
|
||||||
tags: debug
|
tags: debug
|
||||||
when:
|
when:
|
||||||
- hostvars[inventory_hostname]['private_ip'] is not defined
|
- hostvars[inventory_hostname]['private_ip'] is not defined or hostvars[inventory_hostname]['private_ip'] == ""
|
||||||
|
|
||||||
- name: Wait for Elasticsearch API (Private IP)
|
- name: Wait for Elasticsearch API (Private IP)
|
||||||
uri:
|
uri:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user