Skip to content
Snippets Groups Projects
Unverified Commit ce2a3a80 authored by Aivars Sterns's avatar Aivars Sterns Committed by GitHub
Browse files

Merge pull request #3577 from fritchie/master

Add bin_dir to kubectl version check
parents 79bf74e9 b5f4a793
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment