summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version/defaults
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-02-12 17:46:24 -0500
committerMichael Gugino <mgugino@redhat.com>2018-02-13 16:32:36 -0500
commitcdb1ae5fd0057aa6b666ca53fc54e73ce8be19fa (patch)
tree272b8d3867998590b690af95d56297fbc2a2e348 /roles/openshift_version/defaults
parent864d3bd62d28ea2ac10eaef4b767ce3fc7189bba (diff)
downloadopenshift-cdb1ae5fd0057aa6b666ca53fc54e73ce8be19fa.tar.gz
openshift-cdb1ae5fd0057aa6b666ca53fc54e73ce8be19fa.tar.bz2
openshift-cdb1ae5fd0057aa6b666ca53fc54e73ce8be19fa.tar.xz
openshift-cdb1ae5fd0057aa6b666ca53fc54e73ce8be19fa.zip
Simplify double upgrade version logic
Currently, double upgrade process (3.7 -> 3.9) for control plane attempts to run openshift_version role twice to set the appropriate values for upgrading each major version, 3.8 and 3.9. This commit instructs openshift_version to only inquire about the proper settings for 3.9, and hard-sets the appropriate values for 3.8. This allows a simplification of the openshift_version role, allowing for easier debugging. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542368
Diffstat (limited to 'roles/openshift_version/defaults')
-rw-r--r--roles/openshift_version/defaults/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_version/defaults/main.yml b/roles/openshift_version/defaults/main.yml
index e2e6538c9..c807df9d3 100644
--- a/roles/openshift_version/defaults/main.yml
+++ b/roles/openshift_version/defaults/main.yml
@@ -10,3 +10,6 @@ openshift_service_type: "{{ openshift_service_type_dict[openshift_deployment_typ
openshift_use_crio_only: False
l_first_master_version_task_file: "{{ openshift_is_containerized | ternary('first_master_containerized_version.yml', 'first_master_rpm_version.yml') }}"
+
+# Used during double control plane upgrades.
+l_double_upgrade_cp_reset_version: False