Housekeeping #2
This commit is contained in:
parent
c491066384
commit
40489ff373
4
ansible/roles/metacluster/tasks/cleanup.yml
Normal file
4
ansible/roles/metacluster/tasks/cleanup.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user