summaryrefslogtreecommitdiffstats
path: root/playbooks/init/validate_hostnames.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2018-01-22 13:45:55 -0500
committerRussell Teague <rteague@redhat.com>2018-01-22 13:45:55 -0500
commitc7f845f8dde3c09c5d1495cc34f5219f380bd782 (patch)
treeee95b3cd6ee8a6e373ff02460fa554c24d21ff0c /playbooks/init/validate_hostnames.yml
parent9dc31f10b113cb0ceab1ba992ad2609da140ba6f (diff)
downloadopenshift-c7f845f8dde3c09c5d1495cc34f5219f380bd782.tar.gz
openshift-c7f845f8dde3c09c5d1495cc34f5219f380bd782.tar.bz2
openshift-c7f845f8dde3c09c5d1495cc34f5219f380bd782.tar.xz
openshift-c7f845f8dde3c09c5d1495cc34f5219f380bd782.zip
[1506750] Ensure proper hostname check override
Diffstat (limited to 'playbooks/init/validate_hostnames.yml')
-rw-r--r--playbooks/init/validate_hostnames.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/init/validate_hostnames.yml b/playbooks/init/validate_hostnames.yml
index 86e0b2416..b49f7dd08 100644
--- a/playbooks/init/validate_hostnames.yml
+++ b/playbooks/init/validate_hostnames.yml
@@ -25,7 +25,7 @@
when:
- lookupip.stdout != '127.0.0.1'
- lookupip.stdout not in ansible_all_ipv4_addresses
- - openshift_hostname_check | default(true)
+ - openshift_hostname_check | default(true) | bool
- name: Validate openshift_ip exists on node when defined
fail:
@@ -40,4 +40,4 @@
when:
- openshift_ip is defined
- openshift_ip not in ansible_all_ipv4_addresses
- - openshift_ip_check | default(true)
+ - openshift_ip_check | default(true) | bool