This commit is contained in:
parent
77e0f7b7cb
commit
405fb5938f
@ -44,7 +44,11 @@
|
||||
|
||||
- name: Pull and store containerimages
|
||||
ansible.builtin.command:
|
||||
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||
cmd: >-
|
||||
rm -f {{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}; \
|
||||
skopeo copy \
|
||||
docker://{{ item }} \
|
||||
docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||
chdir: /opt/metacluster/container-images
|
||||
register: imagedownload
|
||||
until: imagedownload is succeeded
|
||||
|
@ -97,4 +97,3 @@ dependencies:
|
||||
- lvm2
|
||||
- python3-passlib
|
||||
- skopeo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user