소스 검색

Merge pull request #2784 from abutcher/upgrade-embedded-etcd

Bug 1393663 - Failed to upgrade v3.2 to v3.3
Scott Dodson 8 년 전
부모
커밋
9eea7c605d
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