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
pull/1632/head
Matthieu 2017-09-06 10:32:32 +02:00 committed by Matthew Mosesohn
parent a341adb7f3
commit 0453ed8235
1 changed files with 1 additions and 1 deletions

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