gather facts from all instances, maybe include calico-rr

This commit is contained in:
Chen Hong 2018-03-19 14:35:45 +08:00
parent 4ee9cb2be9
commit 73cd24bf5a

View file

@ -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) }}"