Switch module
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-06-27 14:38:48 +02:00
parent dcbe6c397f
commit 4c054cc434
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,6 @@
ansible.builtin.command:
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
chdir: /opt/metacluster/container-images
ignore_errors: yes
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
- name: Compress tarballs

View File

@ -3,7 +3,7 @@
- name: Pre-stage meta components
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
chdir: /opt/metacluster