download/container: adapt to single key repo+tag -> image_name

This code will be deleted for the rework of the download role, for now
we minimally adapt it to the new structure of downloads.
This commit is contained in:
Max Gautier
2026-09-23 13:18:49 +02:00
parent 164f7fbf40
commit e013507027
4 changed files with 13 additions and 18 deletions
+1 -2
View File
@@ -42,8 +42,7 @@
value:
enabled: true
container: true
repo: "{{ item | regex_replace('^(.*):.*$', '\\1') }}"
tag: "{{ item | regex_replace('^.*:(.*)$', '\\1') }}"
image_name: "{{ item }}"
groups:
- k8s_cluster
loop: "{{ kubeadm_images_list | flatten(levels=1) }}"