Fails if kubeadm_version do not matches kubernetes version (#6302)
This commit is contained in:
parent
5ec2467268
commit
8908a70c19
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,11 @@
|
||||||
---
|
---
|
||||||
|
- name: prep_kubeadm_images | Check kubeadm version matches kubernetes version
|
||||||
|
fail:
|
||||||
|
msg: "Kubeadm version {{ kubeadm_version }} do not matches kubernetes {{ kube_version }}"
|
||||||
|
when:
|
||||||
|
- not skip_downloads | default(false)
|
||||||
|
- not kubeadm_version == downloads.kubeadm.version
|
||||||
|
|
||||||
- name: prep_kubeadm_images | Download kubeadm binary
|
- name: prep_kubeadm_images | Download kubeadm binary
|
||||||
include_tasks: "download_file.yml"
|
include_tasks: "download_file.yml"
|
||||||
vars:
|
vars:
|
||||||
|
|
Loading…
Reference in a new issue