Merge pull request #3577 from fritchie/master
Add bin_dir to kubectl version check
This commit is contained in:
commit
ce2a3a80db
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
when: needs_cordoning
|
when: needs_cordoning
|
||||||
|
|
||||||
- name: Check kubectl version
|
- name: Check kubectl version
|
||||||
command: kubectl version --client --short
|
command: "{{ bin_dir }}/kubectl version --client --short"
|
||||||
register: kubectl_version
|
register: kubectl_version
|
||||||
delegate_to: "{{ groups['kube-master'][0] }}"
|
delegate_to: "{{ groups['kube-master'][0] }}"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
Loading…
Reference in a new issue