Browse Source

Merge pull request #3577 from fritchie/master

Add bin_dir to kubectl version check
pull/3581/head
Aivars Sterns 6 years ago
committed by GitHub
parent
commit
ce2a3a80db
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/upgrade/pre-upgrade/tasks/main.yml

2
roles/upgrade/pre-upgrade/tasks/main.yml

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

Loading…
Cancel
Save