Remove useless call to 'kubeadm version'

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
(cherry picked from commit a6e1f5ece9)
This commit is contained in:
Etienne Champetier 2021-03-03 18:19:00 -05:00 committed by Kubernetes Prow Robot
parent 1216a0d52d
commit 76a1697cf1
3 changed files with 0 additions and 15 deletions

View file

@ -52,11 +52,6 @@
kubeadm_token: "{{ temp_token.stdout }}" kubeadm_token: "{{ temp_token.stdout }}"
when: kubeadm_token is not defined when: kubeadm_token is not defined
- name: Get the kubeadm version
command: "{{ bin_dir }}/kubeadm version -o short"
register: kubeadm_output
changed_when: false
- name: Set kubeadm api version to v1beta2 - name: Set kubeadm api version to v1beta2
set_fact: set_fact:
kubeadmConfig_api_version: v1beta2 kubeadmConfig_api_version: v1beta2

View file

@ -1,9 +1,4 @@
--- ---
- name: Get the kubeadm version
command: "{{ bin_dir }}/kubeadm version -o short"
register: kubeadm_output
changed_when: false
- name: Set kubeadm api version to v1beta2 - name: Set kubeadm api version to v1beta2
set_fact: set_fact:
kubeadmConfig_api_version: v1beta2 kubeadmConfig_api_version: v1beta2

View file

@ -6,11 +6,6 @@
state: directory state: directory
when: dynamic_kubelet_configuration when: dynamic_kubelet_configuration
- name: Get the kubeadm version
command: "{{ bin_dir }}/kubeadm version -o short"
register: kubeadm_output
changed_when: false
- name: Set kubelet api version to v1beta1 - name: Set kubelet api version to v1beta1
set_fact: set_fact:
kubeletConfig_api_version: v1beta1 kubeletConfig_api_version: v1beta1