Use var for bin dir instead of assuming /usr/local/bin
On CoreOS the binaries are not installed in /usr/local/bin.
This commit is contained in:
parent
a14dfe74e1
commit
64a39fdb86
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
||||||
kube:
|
kube:
|
||||||
name: dnsmasq
|
name: dnsmasq
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
kubectl: /usr/local/bin/kubectl
|
kubectl: "{{bin_dir}}/kubectl"
|
||||||
resource: "{{item.item.type}}"
|
resource: "{{item.item.type}}"
|
||||||
filename: /etc/kubernetes/{{item.item.file}}
|
filename: /etc/kubernetes/{{item.item.file}}
|
||||||
state: "{{item.changed | ternary('latest','present') }}"
|
state: "{{item.changed | ternary('latest','present') }}"
|
||||||
|
|
Loading…
Reference in a new issue