use bin_dir

This commit is contained in:
Sascha Marcel Schmidt 2018-09-07 13:33:22 +02:00
parent 18f0531bba
commit 97aa87612a
No known key found for this signature in database
GPG key ID: D1D6CE184437796D

View file

@ -10,6 +10,7 @@
kube: kube:
name: "MetalLB" name: "MetalLB"
filename: "{{ kube_config_dir }}/metallb.yml" filename: "{{ kube_config_dir }}/metallb.yml"
kubectl: "{{bin_dir}}/kubectl"
state: "{{ item.changed | ternary('latest','present') }}" state: "{{ item.changed | ternary('latest','present') }}"
with_items: "{{ rendering.results }}" with_items: "{{ rendering.results }}"
when: when: