summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_common')
-rw-r--r--roles/openshift_common/README.md2
-rw-r--r--roles/openshift_common/defaults/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_common/README.md b/roles/openshift_common/README.md
index fce79047c..592a276f9 100644
--- a/roles/openshift_common/README.md
+++ b/roles/openshift_common/README.md
@@ -16,7 +16,7 @@ Role Variables
|-------------------------------|------------------------------|----------------------------------------|
| openshift_debug_level | 0 | Global openshift debug log verbosity |
| openshift_hostname_workaround | True | Workaround needed to set hostname to IP address |
-| openshift_hostname | openshift_public_ip if openshift_hostname_workaround else ansible_fqdn | hostname to use for this instance |
+| openshift_hostname | UNDEF (Required) | hostname to use for this instance |
| openshift_public_ip | UNDEF (Required) | Public IP address to use for this host |
| openshift_env | default | Envrionment name if multiple OpenShift instances |
diff --git a/roles/openshift_common/defaults/main.yml b/roles/openshift_common/defaults/main.yml
index eb6edbc03..86351f6f6 100644
--- a/roles/openshift_common/defaults/main.yml
+++ b/roles/openshift_common/defaults/main.yml
@@ -4,4 +4,4 @@ openshift_debug_level: 0
# TODO: Once openshift stops resolving hostnames for node queries remove
# this...
openshift_hostname_workaround: true
-openshift_hostname: "{{ ansible_default_ipv4.address if openshift_hostname_workaround else ansible_fqdn }}"
+