From 631a1408e47160dc4635a0e7a286da281bd474e4 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Thu, 28 May 2020 19:07:17 -0500 Subject: [PATCH] Update Demo_df-rootusage.yml --- Demo_df-rootusage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo_df-rootusage.yml b/Demo_df-rootusage.yml index cf94a0c..bc7ca77 100644 --- a/Demo_df-rootusage.yml +++ b/Demo_df-rootusage.yml @@ -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}'