summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-07-12 10:27:39 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-07-12 10:27:53 -0300
commit7ce564ca44ef1b02037a2255244bd8f3057734dc (patch)
treec4899b5b7e62ddf5c31e8b4b6244ea77e3dd7e05 /playbooks/common/openshift-cluster/upgrades
parentb9d00cb5bf5d81b6c94e08a67021c32f3239103c (diff)
downloadopenshift-7ce564ca44ef1b02037a2255244bd8f3057734dc.tar.gz
openshift-7ce564ca44ef1b02037a2255244bd8f3057734dc.tar.bz2
openshift-7ce564ca44ef1b02037a2255244bd8f3057734dc.tar.xz
openshift-7ce564ca44ef1b02037a2255244bd8f3057734dc.zip
Fix upgrades with an openshift_image_tag set.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/rpm_upgrade.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/rpm_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/rpm_upgrade.yml
index 1d97d3802..f5e4d807e 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/rpm_upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/rpm_upgrade.yml
@@ -1,6 +1,6 @@
# We verified latest rpm available is suitable, so just yum update.
- name: Upgrade packages
- command: "{{ ansible_pkg_mgr}} update -y {{ openshift.common.service_type }}-{{ component }}"
+ action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-{{ component }}{{ openshift_pkg_version }} state=present"
- name: Ensure python-yaml present for config upgrade
action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"