From 2e145ffc12ad2731bfefa9c3f54da5b530f95ae0 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Mon, 25 Nov 2024 10:06:56 +0100 Subject: [PATCH] Fix the format of the list of images extracted from kubeadm (#11741) The download role expect 'groups' be a list, in order to properly filter images. --- roles/download/tasks/prep_kubeadm_images.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/download/tasks/prep_kubeadm_images.yml b/roles/download/tasks/prep_kubeadm_images.yml index 8725393ed..dc988065c 100644 --- a/roles/download/tasks/prep_kubeadm_images.yml +++ b/roles/download/tasks/prep_kubeadm_images.yml @@ -44,7 +44,8 @@ container: true repo: "{{ item | regex_replace('^(.*):.*$', '\\1') }}" tag: "{{ item | regex_replace('^.*:(.*)$', '\\1') }}" - groups: k8s_cluster + groups: + - k8s_cluster loop: "{{ kubeadm_images_list | flatten(levels=1) }}" register: kubeadm_images_cooked run_once: true