This commit is contained in:
parent
8c741dc120
commit
4616b9b070
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
- name: Extract container images
|
- name: Extract container images
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: /opt/metacluster/container-images/images-tarballs.tgz
|
src: /opt/metacluster/container-images/image-tarballs.tgz
|
||||||
dest: /opt/metacluster/container-images
|
dest: /opt/metacluster/container-images
|
||||||
list_files: yes
|
list_files: yes
|
||||||
register: imagetarballs
|
register: imagetarballs
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
chdir: /opt/metacluster/container-images
|
chdir: /opt/metacluster/container-images
|
||||||
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
||||||
|
|
||||||
- name: Compress tarballs -- **SLOW**
|
- name: Compress tarballs
|
||||||
community.general.archive:
|
community.general.archive:
|
||||||
dest: /opt/metacluster/container-images/image-tarballs.tgz
|
dest: /opt/metacluster/container-images/image-tarballs.tgz
|
||||||
path: /opt/metacluster/container-images/*
|
path: /opt/metacluster/container-images/*
|
||||||
|
Loading…
Reference in New Issue
Block a user