Mark "calico-rr" as optional in fact gathering

This commit is contained in:
MQasimSarfraz 2018-03-16 20:33:29 +00:00
parent 4ff17cb5a5
commit 728598b230

View file

@ -26,7 +26,7 @@
setup: setup:
delegate_to: "{{item}}" delegate_to: "{{item}}"
delegate_facts: True 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 - hosts: k8s-cluster:etcd:calico-rr
any_errors_fatal: "{{ any_errors_fatal | default(true) }}" any_errors_fatal: "{{ any_errors_fatal | default(true) }}"