Browse Source

Merge pull request #8739 from mgugino-upstream-stage/fix-error-msg

Fix hostname check failure message
Scott Dodson 6 years ago
parent
commit
0e1205e55b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playbooks/init/validate_hostnames.yml

+ 1 - 1
playbooks/init/validate_hostnames.yml

@@ -18,7 +18,7 @@
         openshift_hostname variable to a hostname that when resolved on the host
         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.
         in question resolves to an IP address matching an interface on this host.
         This will ensure proper functionality of OpenShift networking features.
         This will ensure proper functionality of OpenShift networking features.
-        Inventory setting: openshift_hostname={{ openshift_hostname }}
+        Inventory setting: openshift_hostname={{ openshift_hostname | default ('undefined') }}
         This check can be overridden by setting openshift_hostname_check=false in
         This check can be overridden by setting openshift_hostname_check=false in
         the inventory.
         the inventory.
         See https://docs.openshift.org/latest/install_config/install/advanced_install.html#configuring-host-variables
         See https://docs.openshift.org/latest/install_config/install/advanced_install.html#configuring-host-variables