summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-15 09:49:51 -0400
committerGitHub <noreply@github.com>2017-08-15 09:49:51 -0400
commit80fee935c90165de89b698880ee3542c92b8bcb4 (patch)
tree1705790df9e57df6e058a7c551799afb20041698 /playbooks
parent2bc68321f54ed405819d168a4930c75d9ab8fadc (diff)
parent94c195bb55992985775c0bd8d7349843fc6b552f (diff)
downloadopenshift-80fee935c90165de89b698880ee3542c92b8bcb4.tar.gz
openshift-80fee935c90165de89b698880ee3542c92b8bcb4.tar.bz2
openshift-80fee935c90165de89b698880ee3542c92b8bcb4.tar.xz
openshift-80fee935c90165de89b698880ee3542c92b8bcb4.zip
Merge pull request #4770 from kwoodson/openshift_repos_refactor
Removing openshift_repo dependencies. Moving to beginning of openshift_cluster.
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