Browse Source

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 7 years ago
committed by Matthew Mosesohn
parent
commit
0453ed8235
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes-apps/network_plugin/canal/tasks/main.yml

2
roles/kubernetes-apps/network_plugin/canal/tasks/main.yml

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