From c971debd15d8058471a32a6170f2fd9eeb329110 Mon Sep 17 00:00:00 2001 From: Florian Ruynat <16313165+floryut@users.noreply.github.com> Date: Wed, 23 Dec 2020 17:28:26 +0100 Subject: [PATCH] Fix crictl with Docker (#7081) --- roles/download/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml index b5b3ef08c..2fa45929f 100644 --- a/roles/download/tasks/main.yml +++ b/roles/download/tasks/main.yml @@ -10,7 +10,9 @@ - name: install crictl import_role: name: container-engine/crictl - when: not skip_downloads|default(false) + when: + - not skip_downloads|default(false) + - container_manager in ['containerd', 'crio'] - name: download | Get kubeadm binary and list of required images include_tasks: prep_kubeadm_images.yml