Update Demo_df-rootusage.yml

This commit is contained in:
kneutron 2020-05-28 19:03:30 -05:00 committed by GitHub
parent 4d78597b12
commit c109713b20
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: [ $(df -hT / |grep -c zfs) -gt 0 ] && zpool list rpool |grep -v ALLOC |awk '{print $3}'
register: dfrootz
shell: df -h / |grep -v "Use" |awk '{print $5}'
register: dfrootnz