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
13fa64887d
commit
631a1408e4
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: ZFSaware Root FS usage
|
- 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
|
register: dfrootz
|
||||||
- name: nonzfs rootfs usage
|
- name: nonzfs rootfs usage
|
||||||
shell: df -h / |grep -v "Use" |awk '{print $5}'
|
shell: df -h / |grep -v "Use" |awk '{print $5}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user