mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Update Demo_df-rootusage.yml
This commit is contained in:
parent
4d78597b12
commit
c109713b20
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user