Optionally skip predownload of kubeadm images (#4832)
This commit is contained in:
parent
4f05d801c3
commit
3617ae31f6
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,9 @@ local_release_dir: /tmp/releases
|
||||||
# Used to only evaluate vars from download role
|
# Used to only evaluate vars from download role
|
||||||
skip_downloads: false
|
skip_downloads: false
|
||||||
|
|
||||||
|
# Optionally skip kubeadm images download
|
||||||
|
skip_kubeadm_images: false
|
||||||
|
|
||||||
# if this is set to true will only download files once. Doesn't work
|
# if this is set to true will only download files once. Doesn't work
|
||||||
# on Container Linux by CoreOS unless the download_localhost is true and localhost
|
# on Container Linux by CoreOS unless the download_localhost is true and localhost
|
||||||
# is running another OS type. Default compress level is 1 (fastest).
|
# is running another OS type. Default compress level is 1 (fastest).
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
when:
|
when:
|
||||||
- kube_version is version('v1.11.0', '>=')
|
- kube_version is version('v1.11.0', '>=')
|
||||||
- not skip_downloads|default(false)
|
- not skip_downloads|default(false)
|
||||||
|
- not skip_kubeadm_images|default(false)
|
||||||
- inventory_hostname in groups['kube-master']
|
- inventory_hostname in groups['kube-master']
|
||||||
|
|
||||||
- name: Set kubeadm_images
|
- name: Set kubeadm_images
|
||||||
|
|
Loading…
Reference in a new issue