diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-05-10 17:13:14 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-05-17 09:22:47 -0400 |
commit | a939f5c518bbcbb1be0713781e2fd1f405c36751 (patch) | |
tree | 98d5eeba792d043268d507c7f1d25d269965ace6 /playbooks/common | |
parent | a077b688e56374de31587bebcf4de20b22a6d51c (diff) | |
download | openshift-a939f5c518bbcbb1be0713781e2fd1f405c36751.tar.gz openshift-a939f5c518bbcbb1be0713781e2fd1f405c36751.tar.bz2 openshift-a939f5c518bbcbb1be0713781e2fd1f405c36751.tar.xz openshift-a939f5c518bbcbb1be0713781e2fd1f405c36751.zip |
Set openshift.common.hostname early in playbook execution.
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-cluster/initialize_facts.yml | 5 |
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) }}" |