summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-05-09 17:20:46 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-05-09 17:21:36 -0400
commit36f9bbceca1db098eef9a60a6152009a37cd14a9 (patch)
tree12b6fe43a8f83f102b9a4e137f0c56214e34f859 /playbooks/common/openshift-cluster
parenta9bf2540412983ff65ea376eb2ed0675536dd102 (diff)
downloadopenshift-36f9bbceca1db098eef9a60a6152009a37cd14a9.tar.gz
openshift-36f9bbceca1db098eef9a60a6152009a37cd14a9.tar.bz2
openshift-36f9bbceca1db098eef9a60a6152009a37cd14a9.tar.xz
openshift-36f9bbceca1db098eef9a60a6152009a37cd14a9.zip
Initialize facts for all hosts.
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/config.yml2
-rw-r--r--playbooks/common/openshift-cluster/initialize_facts.yml7
2 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/config.yml b/playbooks/common/openshift-cluster/config.yml
index 99b36098a..903babc45 100644
--- a/playbooks/common/openshift-cluster/config.yml
+++ b/playbooks/common/openshift-cluster/config.yml
@@ -1,6 +1,8 @@
---
- include: evaluate_groups.yml
+- include: initialize_facts.yml
+
- include: validate_hostnames.yml
- name: Set oo_options
diff --git a/playbooks/common/openshift-cluster/initialize_facts.yml b/playbooks/common/openshift-cluster/initialize_facts.yml
new file mode 100644
index 000000000..9a844e216
--- /dev/null
+++ b/playbooks/common/openshift-cluster/initialize_facts.yml
@@ -0,0 +1,7 @@
+---
+- name: Initialize host facts
+ hosts: OSEv3
+ roles:
+ - openshift_facts
+ tasks:
+ - openshift_facts: