Update Demo_df-rootusage.yml

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

View File

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