This commit is contained in:
parent
dcbe6c397f
commit
4c054cc434
@ -34,7 +34,6 @@
|
|||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||||
chdir: /opt/metacluster/container-images
|
chdir: /opt/metacluster/container-images
|
||||||
ignore_errors: yes
|
|
||||||
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
||||||
|
|
||||||
- name: Compress tarballs
|
- name: Compress tarballs
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
- name: Pre-stage meta components
|
- name: Pre-stage meta components
|
||||||
import_tasks: components.yml
|
import_tasks: components.yml
|
||||||
|
|
||||||
- ansible.builtin.command:
|
- ansible.builtin.shell:
|
||||||
cmd: dd bs=1M count=$(df -m . | awk '/[0-9]%/{print $(NF-2)}') if=/dev/zero of=./zero; sync; rm -f ./zero
|
cmd: dd bs=1M count=$(df -m . | awk '/[0-9]%/{print $(NF-2)}') if=/dev/zero of=./zero; sync; rm -f ./zero
|
||||||
chdir: /opt/metacluster
|
chdir: /opt/metacluster
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user