summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-20 16:45:39 -0400
committerGitHub <noreply@github.com>2017-10-20 16:45:39 -0400
commite758bbe9739596f5e50b5a861198e5060d830d9b (patch)
tree6b2c5fd3bd47bad9ae9263696a65923dc869eb27
parent8ef64935d20b35d96009435305b6e65f0af549cc (diff)
parent7206730139d06f478931ebf5db3d483cd07ac224 (diff)
downloadopenshift-e758bbe9739596f5e50b5a861198e5060d830d9b.tar.gz
openshift-e758bbe9739596f5e50b5a861198e5060d830d9b.tar.bz2
openshift-e758bbe9739596f5e50b5a861198e5060d830d9b.tar.xz
openshift-e758bbe9739596f5e50b5a861198e5060d830d9b.zip
Merge pull request #5792 from mgugino-upstream-stage/fix-master-undefined-var
Fix undefined variable for master upgrades
-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) }}"