summaryrefslogtreecommitdiffstats
path: root/roles/static_inventory
diff options
context:
space:
mode:
authorDavis Phillips <davis.phillips@gmail.com>2017-07-25 09:34:00 -0500
committerDavis Phillips <davis.phillips@gmail.com>2017-07-25 09:34:00 -0500
commit48cd5c4cb21817d3b676536a230f18f6b62793e3 (patch)
tree541ba28ce15ae660cbec69c76d310a2593ed3868 /roles/static_inventory
parentb3c8f1784678733484b6d8b764ca6eaad7d5c1cc (diff)
parentc0deeb4439f68a5cc514392a97927808532a3893 (diff)
downloadopenshift-48cd5c4cb21817d3b676536a230f18f6b62793e3.tar.gz
openshift-48cd5c4cb21817d3b676536a230f18f6b62793e3.tar.bz2
openshift-48cd5c4cb21817d3b676536a230f18f6b62793e3.tar.xz
openshift-48cd5c4cb21817d3b676536a230f18f6b62793e3.zip
Merge branch 'master' of https://github.com/openshift/openshift-ansible-contrib into cns-support
Diffstat (limited to 'roles/static_inventory')
-rw-r--r--roles/static_inventory/templates/inventory.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/static_inventory/templates/inventory.j2 b/roles/static_inventory/templates/inventory.j2
index 9d129cf10..464726a0b 100644
--- a/roles/static_inventory/templates/inventory.j2
+++ b/roles/static_inventory/templates/inventory.j2
@@ -12,6 +12,7 @@
%} public_v4={{ hostvars[host]['public_v4'] }}{% endif %}
{% if 'ansible_private_key_file' in hostvars[host]
%} ansible_private_key_file={{ hostvars[host]['ansible_private_key_file'] }}{% endif %}
+ openshift_hostname={{ host }}
{% endif %}
{% endfor %}