Update conditional in Wait for Elasticsaarch API (Opendistro)

This commit is contained in:
Jose M 2020-06-25 12:13:35 +02:00
parent 3c40f81939
commit 3c723a94ef
No known key found for this signature in database
GPG Key ID: 790179D6924E10FF

View File

@ -64,7 +64,7 @@
delay: 5
tags: debug
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)
uri: