summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-09-19 18:59:43 -0700
committerGitHub <noreply@github.com>2017-09-19 18:59:43 -0700
commit3eb3a30712edb771e65f37739d5ae6c2471295cc (patch)
tree6bee00902b3f3edad9cbeca6faac72c77510f060 /playbooks/common
parent483f5676fd51a906354014c5c202001d2dea306e (diff)
parentf3b39ab5a882c2dcefe464c5fa99ef84b740dcae (diff)
downloadopenshift-3eb3a30712edb771e65f37739d5ae6c2471295cc.tar.gz
openshift-3eb3a30712edb771e65f37739d5ae6c2471295cc.tar.bz2
openshift-3eb3a30712edb771e65f37739d5ae6c2471295cc.tar.xz
openshift-3eb3a30712edb771e65f37739d5ae6c2471295cc.zip
Merge pull request #5380 from mgugino-upstream-stage/fix-openshift-version-pkg-install
Automatic merge from submit-queue Only install base openshift package on masters and nodes Recent refactoring to remove openshift_common resulted in base openshift rpm's being installed on more hosts than previous. This situation results in hosts that would otherwise not need access to openshift repositories to require them. This patch set results in only openshift_masters and openshift_nodes to have the openshift base package installed.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/initialize_openshift_version.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/initialize_openshift_version.yml b/playbooks/common/openshift-cluster/initialize_openshift_version.yml
index 7af6b25bc..1b186f181 100644
--- a/playbooks/common/openshift-cluster/initialize_openshift_version.yml
+++ b/playbooks/common/openshift-cluster/initialize_openshift_version.yml
@@ -1,4 +1,12 @@
---
+- name: Set version_install_base_package true on masters and nodes
+ hosts: oo_masters_to_config:oo_nodes_to_config
+ tasks:
+ - name: Set version_install_base_package true
+ set_fact:
+ version_install_base_package: True
+ when: version_install_base_package is not defined
+
# NOTE: requires openshift_facts be run
- name: Determine openshift_version to configure on first master
hosts: oo_first_master