1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Clean df syntax, for each app's disk usage in iiab.ini

This commit is contained in:
root 2023-06-10 09:10:47 -04:00
parent 2d62b975bf
commit 3f63c0b4dd
47 changed files with 279 additions and 279 deletions

View file

@ -1,5 +1,5 @@
- name: Record disk_space_a_priori (permanently, into {{ iiab_ini_file }} below) to later estimate iiab_software_disk_usage
shell: df -PB1 $(findmnt / -o SOURCE -n) | awk 'NR==2 {print $4}'
- name: Record disk_used_a_priori (permanently, into {{ iiab_ini_file }} below) to later estimate iiab_software_disk_usage
shell: df -B1 --output=used / | tail -1
register: df1
# workaround for fact that auto create does not work on iiab_ini_file
@ -28,7 +28,7 @@
value: "{{ iiab_base }}"
- option: iiab_dir
value: "{{ iiab_dir }}"
- option: disk_space_a_priori
- option: disk_used_a_priori
value: "{{ df1.stdout }}"
- name: Add 'initial' variable values to {{ iiab_ini_file }}