Update Demo_df-rootusage.yml

This commit is contained in:
kneutron 2020-05-28 19:05:44 -05:00 committed by GitHub
parent c109713b20
commit 13fa64887d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@
- name: ZFSaware Root FS usage
shell: [ $(df -hT / |grep -c zfs) -gt 0 ] && zpool list rpool |grep -v ALLOC |awk '{print $3}'
register: dfrootz
- name: nonzfs rootfs usage
shell: df -h / |grep -v "Use" |awk '{print $5}'
register: dfrootnz