Bladeren bron

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

Fix hostname check failure message
Scott Dodson 6 jaren geleden
bovenliggende
commit
0e1205e55b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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
         in question resolves to an IP address matching an interface on this host.
         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
         the inventory.
         See https://docs.openshift.org/latest/install_config/install/advanced_install.html#configuring-host-variables