diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-05-24 12:44:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 12:44:36 -0500 |
commit | daf8516f021ef6f700e3088419f0270a827c819f (patch) | |
tree | 9c35bc3277251284112854522b4993c62b23a28d /playbooks/common/openshift-cluster | |
parent | 1694eb3b5d57960b75b05aa66bd561120c79c50f (diff) | |
parent | 9260dcd084f19ec5a641c2673525163d5ab76816 (diff) | |
download | openshift-daf8516f021ef6f700e3088419f0270a827c819f.tar.gz openshift-daf8516f021ef6f700e3088419f0270a827c819f.tar.bz2 openshift-daf8516f021ef6f700e3088419f0270a827c819f.tar.xz openshift-daf8516f021ef6f700e3088419f0270a827c819f.zip |
Merge pull request #4257 from dmsimard/hostname_validation
Merged by openshift-bot
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r-- | playbooks/common/openshift-cluster/validate_hostnames.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/validate_hostnames.yml b/playbooks/common/openshift-cluster/validate_hostnames.yml index 48cc03b19..33fc5630f 100644 --- a/playbooks/common/openshift-cluster/validate_hostnames.yml +++ b/playbooks/common/openshift-cluster/validate_hostnames.yml @@ -13,4 +13,6 @@ pause: prompt: "The hostname \"{{ openshift.common.hostname }}\" for \"{{ ansible_nodename }}\" doesn't resolve to an ip address owned by this host. Please set openshift_hostname variable to a hostname that when resolved on the host in question resolves to an IP address matching an interface on this host. This host will fail liveness checks for pods utilizing hostPorts, press ENTER to continue or CTRL-C to abort." seconds: "{{ 10 if openshift_override_hostname_check | default(false) | bool else omit }}" - when: lookupip.stdout not in ansible_all_ipv4_addresses + when: + - lookupip.stdout != '127.0.0.1' + - lookupip.stdout not in ansible_all_ipv4_addresses |