summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/sample-inventory/inventory.py
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-11-29 14:34:22 +0100
committerTomas Sedovic <tomas@sedovic.cz>2017-11-29 14:34:22 +0100
commit847996632a0f631b95216e6708db04b2c04e1019 (patch)
tree1037f75ed8d2634c0b021fa2f2545e64cf9dce97 /playbooks/openstack/sample-inventory/inventory.py
parent949897fd410ba74600fd44d2e81cef638b6f5a6c (diff)
downloadopenshift-847996632a0f631b95216e6708db04b2c04e1019.tar.gz
openshift-847996632a0f631b95216e6708db04b2c04e1019.tar.bz2
openshift-847996632a0f631b95216e6708db04b2c04e1019.tar.xz
openshift-847996632a0f631b95216e6708db04b2c04e1019.zip
Update the doc text
Diffstat (limited to 'playbooks/openstack/sample-inventory/inventory.py')
-rwxr-xr-xplaybooks/openstack/sample-inventory/inventory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/openstack/sample-inventory/inventory.py b/playbooks/openstack/sample-inventory/inventory.py
index 6fa219f22..ad3fd936b 100755
--- a/playbooks/openstack/sample-inventory/inventory.py
+++ b/playbooks/openstack/sample-inventory/inventory.py
@@ -91,6 +91,7 @@ def build_inventory():
# performance issues.
hostvars['openshift_ip'] = server.private_v4
hostvars['openshift_hostname'] = server.private_v4
+ hostvars['openshift_public_hostname'] = server.name
node_labels = server.metadata.get('node_labels')
if node_labels: