Fix an error with Canal when RBAC are disabled (#1619)

* Fix an error with Canal when RBAC are disabled

* Update using same rbac strategy used elsewhere
This commit is contained in:
Matthieu 2017-09-06 10:32:32 +02:00 committed by Matthew Mosesohn
parent a341adb7f3
commit 0453ed8235

View file

@ -8,4 +8,4 @@
filename: "{{kube_config_dir}}/{{item.item.file}}"
state: "latest"
with_items: "{{ canal_manifests.results }}"
when: inventory_hostname == groups['kube-master'][0]
when: inventory_hostname == groups['kube-master'][0] and not item|skipped