Merge pull request #2487 from MQasimSarfraz/upgrade-playbook-fix

Mark "calico-rr" as optional in fact gather
This commit is contained in:
Andreas Krüger 2018-03-19 20:25:24 +01:00 committed by GitHub
commit 8b6a6a5a28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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