summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-17 13:09:06 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-17 13:09:06 -0400
commit18ea4c3e71a14770f656a3057a358b74e72a779e (patch)
tree98d5eeba792d043268d507c7f1d25d269965ace6
parenta077b688e56374de31587bebcf4de20b22a6d51c (diff)
parenta939f5c518bbcbb1be0713781e2fd1f405c36751 (diff)
downloadopenshift-18ea4c3e71a14770f656a3057a358b74e72a779e.tar.gz
openshift-18ea4c3e71a14770f656a3057a358b74e72a779e.tar.bz2
openshift-18ea4c3e71a14770f656a3057a358b74e72a779e.tar.xz
openshift-18ea4c3e71a14770f656a3057a358b74e72a779e.zip
Merge pull request #1876 from abutcher/openshift-common-hostname
Fix proxy facts
-rw-r--r--playbooks/common/openshift-cluster/initialize_facts.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/initialize_facts.yml b/playbooks/common/openshift-cluster/initialize_facts.yml
index 9a844e216..cda490b1f 100644
--- a/playbooks/common/openshift-cluster/initialize_facts.yml
+++ b/playbooks/common/openshift-cluster/initialize_facts.yml
@@ -1,7 +1,10 @@
---
- name: Initialize host facts
- hosts: OSEv3
+ hosts: oo_all_hosts
roles:
- openshift_facts
tasks:
- openshift_facts:
+ role: common
+ local_facts:
+ hostname: "{{ openshift_hostname | default(None) }}"