Details

Result

Field Value
changed
False
cmd
if [[ $(df -T / | tail -n 1 | awk '{print $2}') == "btrfs" ]]; then
    btrfs fi usage --kbytes / | awk '/^.*Free / {print $3}'| sed 's/\..*//'
else
    df -BK / | awk '!/^Filesystem/ {print $4}' | sed 's/K//'
fi
delta
0:00:00.010544
end
2020-01-31 15:51:50.131848
rc
0
start
2020-01-31 15:51:50.121304
stderr
/bin/sh: 1: [[: not found
stderr_lines
[
    "/bin/sh: 1: [[: not found"
]
stdout
65271096
stdout_lines
[
    "65271096"
]