summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-09-22 18:14:05 +0200
committerLénaïc Huard <lhuard@amadeus.com>2016-09-22 18:14:05 +0200
commitaaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84 (patch)
tree67f8e4512345190190c59fd8ee13565929ada9fe /roles/openshift_facts
parent06cd13f98ab0a4b18861c5af8aae4d76e12c633e (diff)
downloadopenshift-aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.tar.gz
openshift-aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.tar.bz2
openshift-aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.tar.xz
openshift-aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.zip
Fix the nodeName of the OpenShift nodes on OpenStack
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index bdc7d3947..1ca6518bc 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -1214,7 +1214,7 @@ def apply_provider_facts(facts, provider_facts):
facts['common'][h_var] = choose_hostname(
[provider_facts['network'].get(h_var)],
- facts['common'][ip_var]
+ facts['common'][h_var]
)
facts['provider'] = provider_facts