summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-04-19 14:18:10 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-04-20 14:21:04 -0300
commitd7247a4e89c9d70e810922e06236dd9dfd17b9de (patch)
tree0d4c0f57a97582c7d68ec4c59a9d73f04467b170 /playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml
parentfd2eef29ab0b34ee55920b25226d570bd0501ed0 (diff)
downloadopenshift-d7247a4e89c9d70e810922e06236dd9dfd17b9de.tar.gz
openshift-d7247a4e89c9d70e810922e06236dd9dfd17b9de.tar.bz2
openshift-d7247a4e89c9d70e810922e06236dd9dfd17b9de.tar.xz
openshift-d7247a4e89c9d70e810922e06236dd9dfd17b9de.zip
Fix use of older image tag version during upgrade.
If doing an upgrade with a 3.2.0.x version that was older than the latest, the upgrade would actually use the latest in the systemd unit files and thus the actual containers that get used. (despite pulling down the correct version first)
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml
index 8852bb8de..d66ba6251 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml
@@ -50,7 +50,7 @@
- include_vars: ../../../../../roles/openshift_master/vars/main.yml
- name: Update systemd units
- include: ../../../../../roles/openshift_master/tasks/systemd_units.yml openshift_version=v{{ g_aos_versions.avail_version }}
+ include: ../../../../../roles/openshift_master/tasks/systemd_units.yml openshift_version=v{{ g_new_version }}
# - name: Upgrade master configuration
# openshift_upgrade_config:
@@ -130,6 +130,7 @@
###############################################################################
# Reconcile Cluster Roles, Cluster Role Bindings and Security Context Constraints
###############################################################################
+
- name: Reconcile Cluster Roles and Cluster Role Bindings and Security Context Constraints
hosts: oo_masters_to_config
roles: