Merge pull request #3577 from fritchie/master

Add bin_dir to kubectl version check
This commit is contained in:
Aivars Sterns 2018-10-24 08:33:03 +03:00 committed by GitHub
commit ce2a3a80db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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