fix(contrib/metallb): adds missing become: true in role (#4356)

On CoreOS, without this, it fails to kubectl apply MetalLB due to lack of privileges.
pull/4365/head
Peter Metz 2019-03-17 18:15:09 -07:00 committed by Kubernetes Prow Robot
parent 150a969cf4
commit 38009a215a
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
kubectl: "{{bin_dir}}/kubectl"
filename: "{{ kube_config_dir }}/{{ item.item }}"
state: "{{ item.changed | ternary('latest','present') }}"
become: true
with_items: "{{ rendering.results }}"
when:
- "inventory_hostname == groups['kube-master'][0]"