diff --git a/contrib/metallb/roles/provision/tasks/main.yml b/contrib/metallb/roles/provision/tasks/main.yml index 57e8eb6bb..9192ceb54 100644 --- a/contrib/metallb/roles/provision/tasks/main.yml +++ b/contrib/metallb/roles/provision/tasks/main.yml @@ -9,8 +9,8 @@ - name: "Kubernetes Apps | Install and configure MetalLB" kube: name: "MetalLB" - filename: "{{ kube_config_dir }}/metallb.yml" kubectl: "{{bin_dir}}/kubectl" + filename: "{{ kube_config_dir }}/{{ item.item }}" state: "{{ item.changed | ternary('latest','present') }}" with_items: "{{ rendering.results }}" when: