Compare commits

...

2 Commits

Author SHA1 Message Date
Danny Bessems 952e92082f Fix var reference
continuous-integration/drone/push Build is passing Details
2022-07-04 18:00:57 +02:00
Danny Bessems 33e0220e34 Test making dd play nice 2022-07-04 17:57:56 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +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
cmd: nice -n 10 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

View File

@ -27,7 +27,7 @@
path: /opt/firstboot/ansible/vars/metacluster.yml
block: |2
{{ item.key }}:
{{ item.value.chart_values | default('~') }}
{{ item.value.helm.chart_values | default('~') }}
marker: "# {mark} ANSIBLE MANAGED BLOCK -- {{ item.key }}"
loop: "{{ lookup('ansible.builtin.dict', components) }}"
loop_control: