Housekeeping #2

This commit is contained in:
Danny Bessems 2022-06-27 15:34:15 +02:00
parent c491066384
commit 40489ff373

View File

@ -0,0 +1,4 @@
- name: Zero-out disk
ansible.builtin.shell:
cmd: dd bs=1M count=$(df -m . | awk '/[0-9]%/{print $(NF-2)}') if=/dev/zero of=./zero; sync; sync; rm -f ./zero
chdir: /opt/metacluster