소스 검색

Default groups.oo_etcd_to_config when setting embedded_etcd in control plane upgrade.

Andrew Butcher 8 년 전
부모
커밋
f32f56f4d1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml

+ 1 - 1
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