summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-10-18 10:09:07 -0400
committerMichael Gugino <mgugino@redhat.com>2017-10-18 10:09:07 -0400
commit7206730139d06f478931ebf5db3d483cd07ac224 (patch)
tree505b3f5cd301776db006cf6c14d3bd821d2be9a3 /roles/openshift_master/tasks
parent63b77fbe00e4c724452a0256c6fdafc165755962 (diff)
downloadopenshift-7206730139d06f478931ebf5db3d483cd07ac224.tar.gz
openshift-7206730139d06f478931ebf5db3d483cd07ac224.tar.bz2
openshift-7206730139d06f478931ebf5db3d483cd07ac224.tar.xz
openshift-7206730139d06f478931ebf5db3d483cd07ac224.zip
Fix undefined variable for master upgrades
Currently, oreg_auth_credentials_replace is undefined during master upgrades. This commit ensures this variable is defined during upgrades.
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/upgrade_facts.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/upgrade_facts.yml b/roles/openshift_master/tasks/upgrade_facts.yml
index f6ad438aa..2252c003a 100644
--- a/roles/openshift_master/tasks/upgrade_facts.yml
+++ b/roles/openshift_master/tasks/upgrade_facts.yml
@@ -21,6 +21,10 @@
oreg_host: "{{ oreg_url.split('/')[0] if (oreg_url is defined and '.' in oreg_url.split('/')[0]) else '' }}"
when: oreg_host is not defined
+- set_fact:
+ oreg_auth_credentials_replace: False
+ when: oreg_auth_credentials_replace is not defined
+
- name: Set openshift_master_debug_level
set_fact:
openshift_master_debug_level: "{{ debug_level | default(2) }}"