diff options
author | Michael Gugino <mgugino@redhat.com> | 2018-01-26 12:21:37 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2018-01-26 13:00:57 -0500 |
commit | bb111d7059c948ef305564fd6ac78f53a7ec46ce (patch) | |
tree | 1a24d141172870b474df76aefdbb1b163798078d /roles/openshift_version/tasks | |
parent | c6423636a4d14139960f4677dbab8fa646d1cb0c (diff) | |
download | openshift-bb111d7059c948ef305564fd6ac78f53a7ec46ce.tar.gz openshift-bb111d7059c948ef305564fd6ac78f53a7ec46ce.tar.bz2 openshift-bb111d7059c948ef305564fd6ac78f53a7ec46ce.tar.xz openshift-bb111d7059c948ef305564fd6ac78f53a7ec46ce.zip |
Correct 3.7 to 3.9 upgrade openshift_image_tag
Due to complexities upgrading two versions
at the same time, openshift_image_tag was being
set incorrectly during control_plane upgrades.
This commit ensures that openshift_image_tag
is set correctly during this process.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1536839
Diffstat (limited to 'roles/openshift_version/tasks')
-rw-r--r-- | roles/openshift_version/tasks/first_master.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/openshift_version/tasks/first_master.yml b/roles/openshift_version/tasks/first_master.yml index 374725086..e01a56dc1 100644 --- a/roles/openshift_version/tasks/first_master.yml +++ b/roles/openshift_version/tasks/first_master.yml @@ -24,7 +24,9 @@ - block: - debug: - msg: "openshift_image_tag was not defined. Falling back to v{{ openshift_version }}" + msg: "openshift_image_tag set to v{{ openshift_version }}" - set_fact: openshift_image_tag: v{{ openshift_version }} - when: openshift_image_tag is not defined + when: > + openshift_image_tag is not defined + or l_force_image_tag_to_version | bool |