summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-09-11 15:33:25 -0400
committerGitHub <noreply@github.com>2017-09-11 15:33:25 -0400
commit7f6b76563c9fe6a96ea864c2dfea092e1f4805bc (patch)
treeeabb831009693dd638f001d7d1b3d48bfe80b2cc /playbooks/common
parentf95e3c4133e8d8e4878b1e37398c5b2288f81905 (diff)
parenta4e7664bde89e4da3985f5bd8e7cd5963e9a949d (diff)
downloadopenshift-7f6b76563c9fe6a96ea864c2dfea092e1f4805bc.tar.gz
openshift-7f6b76563c9fe6a96ea864c2dfea092e1f4805bc.tar.bz2
openshift-7f6b76563c9fe6a96ea864c2dfea092e1f4805bc.tar.xz
openshift-7f6b76563c9fe6a96ea864c2dfea092e1f4805bc.zip
Merge pull request #5344 from mgugino-upstream-stage/fix-pkg-versions
Merged by openshift-bot
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/initialize_openshift_version.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/initialize_openshift_version.yml b/playbooks/common/openshift-cluster/initialize_openshift_version.yml
index 7112a6084..7af6b25bc 100644
--- a/playbooks/common/openshift-cluster/initialize_openshift_version.yml
+++ b/playbooks/common/openshift-cluster/initialize_openshift_version.yml
@@ -12,5 +12,10 @@
hosts: oo_all_hosts:!oo_first_master
vars:
openshift_version: "{{ hostvars[groups.oo_first_master.0].openshift_version }}"
+ pre_tasks:
+ - set_fact:
+ openshift_pkg_version: -{{ openshift_version }}
+ when: openshift_pkg_version is not defined
+ - debug: msg="openshift_pkg_version set to {{ openshift_pkg_version }}"
roles:
- openshift_version