summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-07-16 20:56:44 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-08-14 09:58:21 -0400
commit94c195bb55992985775c0bd8d7349843fc6b552f (patch)
tree2a3b23f9efa2af7b0f34d235c26fb87a6cab95fe /playbooks
parent3409e6db205b6b24914e16c62972de50071f4051 (diff)
downloadopenshift-94c195bb55992985775c0bd8d7349843fc6b552f.tar.gz
openshift-94c195bb55992985775c0bd8d7349843fc6b552f.tar.bz2
openshift-94c195bb55992985775c0bd8d7349843fc6b552f.tar.xz
openshift-94c195bb55992985775c0bd8d7349843fc6b552f.zip
Removing dependencies for openshift_repos and setting them up early in the cluster build.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/initialize_openshift_repos.yml8
-rw-r--r--playbooks/common/openshift-cluster/std_include.yml4
2 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/initialize_openshift_repos.yml b/playbooks/common/openshift-cluster/initialize_openshift_repos.yml
new file mode 100644
index 000000000..a7114fc80
--- /dev/null
+++ b/playbooks/common/openshift-cluster/initialize_openshift_repos.yml
@@ -0,0 +1,8 @@
+---
+- name: Setup yum repositories for all hosts
+ hosts: oo_all_hosts
+ gather_facts: no
+ tasks:
+ - name: initialize openshift repos
+ include_role:
+ name: openshift_repos
diff --git a/playbooks/common/openshift-cluster/std_include.yml b/playbooks/common/openshift-cluster/std_include.yml
index eab16aba0..5a1187ec7 100644
--- a/playbooks/common/openshift-cluster/std_include.yml
+++ b/playbooks/common/openshift-cluster/std_include.yml
@@ -11,6 +11,10 @@
tags:
- node
+- include: initialize_openshift_repos.yml
+ tags:
+ - always
+
- include: initialize_openshift_version.yml
tags:
- always