diff --git a/contrib/metallb/roles/provision/tasks/main.yml b/contrib/metallb/roles/provision/tasks/main.yml index 9192ceb54..6b9661de4 100644 --- a/contrib/metallb/roles/provision/tasks/main.yml +++ b/contrib/metallb/roles/provision/tasks/main.yml @@ -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]"