summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-11-10 13:17:15 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-11-10 13:17:15 -0500
commitf32f56f4d1bac4acdf332c62e88ceeefb7b6bb60 (patch)
tree11eead621d7acd17da2d2b087b32f82a1ffe0e63 /playbooks/common
parent24804da994917f50be32e2c5fb62e2e120e6652f (diff)
downloadopenshift-f32f56f4d1bac4acdf332c62e88ceeefb7b6bb60.tar.gz
openshift-f32f56f4d1bac4acdf332c62e88ceeefb7b6bb60.tar.bz2
openshift-f32f56f4d1bac4acdf332c62e88ceeefb7b6bb60.tar.xz
openshift-f32f56f4d1bac4acdf332c62e88ceeefb7b6bb60.zip
Default groups.oo_etcd_to_config when setting embedded_etcd in control plane upgrade.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
index afbfe0106..fa4c8c71d 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
@@ -24,7 +24,7 @@
- openshift_facts:
role: master
local_facts:
- embedded_etcd: "{{ groups.oo_etcd_to_config | length == 0 }}"
+ embedded_etcd: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}"
- name: Backup etcd
hosts: etcd_hosts_to_backup