summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-06-21 11:05:27 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-06-21 13:26:04 -0300
commit50c5e7ac797313537dd31a528f187063b54a903f (patch)
treebc062edb678e788f621ba906f275ae6750091611 /playbooks/common
parent2a52c5e57646b78d703aea1fd8e51ce2e90c7722 (diff)
downloadopenshift-50c5e7ac797313537dd31a528f187063b54a903f.tar.gz
openshift-50c5e7ac797313537dd31a528f187063b54a903f.tar.bz2
openshift-50c5e7ac797313537dd31a528f187063b54a903f.tar.xz
openshift-50c5e7ac797313537dd31a528f187063b54a903f.zip
Fix use of v3.2 format for openshift_release in upgrade.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
index e5a1d30f7..d8d04470c 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
@@ -58,6 +58,10 @@
valid version for a {{ target_version }} upgrade
when: openshift_image_tag is defined and openshift_image_tag.split('v',1).1 | version_compare(target_version ,'<')
+ - set_fact:
+ openshift_release: "{{ openshift_release[1:] }}"
+ when: openshift_release is defined and openshift_release[0] == 'v'
+
- fail:
msg: >
openshift_release is {{ openshift_release }} which is not a