Browse Source

Use var for bin dir instead of assuming /usr/local/bin

On CoreOS the binaries are not installed in /usr/local/bin.
pull/192/head
Stig Telfer 8 years ago
parent
commit
64a39fdb86
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/dnsmasq/tasks/main.yml

2
roles/dnsmasq/tasks/main.yml

@ -43,7 +43,7 @@
kube:
name: dnsmasq
namespace: kube-system
kubectl: /usr/local/bin/kubectl
kubectl: "{{bin_dir}}/kubectl"
resource: "{{item.item.type}}"
filename: /etc/kubernetes/{{item.item.file}}
state: "{{item.changed | ternary('latest','present') }}"

Loading…
Cancel
Save