Browse Source

Merge pull request #5344 from mgugino-upstream-stage/fix-pkg-versions

Merged by openshift-bot
OpenShift Bot 7 years ago
parent
commit
7f6b76563c

+ 5 - 0
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