mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-11-01 05:56:18 -03:30
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user