Change tarball scope;Try zeroing disk
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
cb84a02b6f
commit
dcbe6c397f
@ -39,8 +39,7 @@
|
|||||||
|
|
||||||
- name: Compress tarballs
|
- name: Compress tarballs
|
||||||
community.general.archive:
|
community.general.archive:
|
||||||
dest: /opt/metacluster/container-images/{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar.gz
|
dest: /opt/metacluster/container-images/image-tarballs.tgz
|
||||||
path: /opt/metacluster/container-images/{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar
|
path: /opt/metacluster/container-images/*
|
||||||
|
format: gz
|
||||||
remove: yes
|
remove: yes
|
||||||
ignore_errors: yes
|
|
||||||
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
|
||||||
|
@ -2,3 +2,8 @@
|
|||||||
import_tasks: k3s.yml
|
import_tasks: k3s.yml
|
||||||
- name: Pre-stage meta components
|
- name: Pre-stage meta components
|
||||||
import_tasks: components.yml
|
import_tasks: components.yml
|
||||||
|
|
||||||
|
- ansible.builtin.command:
|
||||||
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user