diff --git a/upgrade-cluster.yml b/upgrade-cluster.yml index 88969436b..7acec3083 100644 --- a/upgrade-cluster.yml +++ b/upgrade-cluster.yml @@ -26,7 +26,7 @@ setup: delegate_to: "{{item}}" delegate_facts: True - with_items: "{{ groups['k8s-cluster'] + groups['etcd'] + groups['calico-rr'] }}" + with_items: "{{ groups['k8s-cluster'] + groups['etcd'] + groups['calico-rr']|default([]) }}" - hosts: k8s-cluster:etcd:calico-rr any_errors_fatal: "{{ any_errors_fatal | default(true) }}"