mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
[download] fix dependencies for downloads
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
2cd8c51a07
commit
c2700266b0
@@ -1,5 +1,9 @@
|
||||
---
|
||||
- block:
|
||||
- name: prep_download | Set a few facts
|
||||
set_fact:
|
||||
download_force_cache: "{{ true if download_run_once else download_force_cache }}"
|
||||
|
||||
- name: download_file | Starting download of file
|
||||
debug:
|
||||
msg: "{{ download.url }}"
|
||||
@@ -31,7 +35,6 @@
|
||||
become: false
|
||||
when:
|
||||
- download_force_cache
|
||||
- download_localhost
|
||||
tags:
|
||||
- localhost
|
||||
|
||||
|
||||
@@ -7,20 +7,6 @@
|
||||
- download
|
||||
- upload
|
||||
|
||||
- name: install crictl
|
||||
import_role:
|
||||
name: container-engine/crictl
|
||||
when:
|
||||
- not skip_downloads|default(false)
|
||||
- container_manager in ['containerd', 'crio']
|
||||
|
||||
- name: install nerdctl
|
||||
import_role:
|
||||
name: container-engine/nerdctl
|
||||
when:
|
||||
- not skip_downloads|default(false)
|
||||
- container_manager in ['containerd']
|
||||
|
||||
- name: download | Get kubeadm binary and list of required images
|
||||
include_tasks: prep_kubeadm_images.yml
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user