Add bin_dir to kubectl version check
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
when: needs_cordoning
|
||||
|
||||
- name: Check kubectl version
|
||||
command: kubectl version --client --short
|
||||
command: "{{ bin_dir }}/kubectl version --client --short"
|
||||
register: kubectl_version
|
||||
delegate_to: "{{ groups['kube-master'][0] }}"
|
||||
run_once: yes
|
||||
|
Reference in New Issue
Block a user