Skip to content
Snippets Groups Projects
Commit c2700266 authored by Calin Cristian Andrei's avatar Calin Cristian Andrei Committed by Kubernetes Prow Robot
Browse files

[download] fix dependencies for downloads

parent 2cd8c51a
No related branches found
No related tags found
No related merge requests found
---
dependencies:
- role: container-engine/crictl
......@@ -20,7 +20,3 @@
notify:
- Get crictl completion
- Install crictl completion
- name: Set fact crictl_installed
set_fact:
crictl_installed: true
---
- name: install crictĺ
include_tasks: crictl.yml
when: not crictl_installed | default(false)
---
- 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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment