From f32f56f4d1bac4acdf332c62e88ceeefb7b6bb60 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Thu, 10 Nov 2016 13:17:15 -0500 Subject: Default groups.oo_etcd_to_config when setting embedded_etcd in control plane upgrade. --- playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks/common/openshift-cluster') 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 -- cgit v1.2.3