gather facts from all instances, maybe include calico-rr

pull/2492/head
Chen Hong 2018-03-19 14:35:45 +08:00
parent 4ee9cb2be9
commit 73cd24bf5a
1 changed files with 1 additions and 1 deletions

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