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 -1
View File
@@ -10,7 +10,7 @@
- name: Check_pull_required | Set pull_required if the desired image is not yet loaded
set_fact:
pull_required: "{{ (image_reponame | regex_replace('^docker\\.io/(library/)?', '')) not in docker_images.stdout.split(',') }}"
pull_required: "{{ (download.image_name | regex_replace('^docker\\.io/(library/)?', '')) not in docker_images.stdout.split(',') }}"
when: not download_always_pull
- name: Check_pull_required | Check that the local digest sha256 corresponds to the given image tag