Browse Source

Merge pull request #7269 from mgugino-upstream-stage/fix-master-rpm-upgrade

Change openshift_release to openshift_upgrade_target in upgrade
Scott Dodson 7 years ago
parent
commit
c3b86245c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_master/tasks/upgrade/rpm_upgrade.yml

+ 1 - 1
roles/openshift_master/tasks/upgrade/rpm_upgrade.yml

@@ -11,7 +11,7 @@
 - name: Upgrade master packages - yum
   command:
     yum install -y {{ master_pkgs | join(' ') }} \
-    {{ ' --exclude *' ~ openshift_service_type ~ '*3.9*' if openshift_release | version_compare('3.9','<') else '' }}
+    {{ ' --exclude *' ~ openshift_service_type ~ '*3.9*' if openshift_upgrade_target | version_compare('3.9','<') else '' }}
   vars:
     master_pkgs:
       - "{{ openshift_service_type }}{{ openshift_pkg_version | default('') }}"