From a939f5c518bbcbb1be0713781e2fd1f405c36751 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Tue, 10 May 2016 17:13:14 -0400 Subject: Set openshift.common.hostname early in playbook execution. --- playbooks/common/openshift-cluster/initialize_facts.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'playbooks/common/openshift-cluster') 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) }}" -- cgit v1.2.3