{
"changed": true,
"msg": "All items completed",
"results": [
{
"ansible_loop_var": "item",
"changed": true,
"cmd": "set -o pipefail\nif [ -d \"/var/lib/libvirt\" ]\nthen\n file_space=/var/lib/libvirt\nelse\n file_space=/var/lib\nfi\ndf -BG ${file_space} | jq -R -s '\n split(\"\\n\") |\n .[] |\n if test(\"^/\") then\n gsub(\" +\"; \" \") | split(\" \") | {mount: .[0], spacetotal: .[1], spaceused: .[2], spaceavail: .[3]}\n else\n empty\n end\n ' | jq .spaceavail | tr -d '\"'\n",
"delta": "0:00:00.036743",
"end": "2024-05-05 11:02:20.693218",
"failed": false,
"invocation": {
"module_args": {
"_raw_params": "set -o pipefail\nif [ -d \"/var/lib/libvirt\" ]\nthen\n file_space=/var/lib/libvirt\nelse\n file_space=/var/lib\nfi\ndf -BG ${file_space} | jq -R -s '\n split(\"\\n\") |\n .[] |\n if test(\"^/\") then\n gsub(\" +\"; \" \") | split(\" \") | {mount: .[0], spacetotal: .[1], spaceused: .[2], spaceavail: .[3]}\n else\n empty\n end\n ' | jq .spaceavail | tr -d '\"'\n",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": "/bin/bash",
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true
}
},
"item": "hypervisor-01",
"msg": "",
"rc": 0,
"start": "2024-05-05 11:02:20.656475",
"stderr": "",
"stderr_lines": [],
"stdout": "687G",
"stdout_lines": [
"687G"
]
},
{
"ansible_loop_var": "item",
"changed": true,
"cmd": "set -o pipefail\nif [ -d \"/var/lib/libvirt\" ]\nthen\n file_space=/var/lib/libvirt\nelse\n file_space=/var/lib\nfi\ndf -BG ${file_space} | jq -R -s '\n split(\"\\n\") |\n .[] |\n if test(\"^/\") then\n gsub(\" +\"; \" \") | split(\" \") | {mount: .[0], spacetotal: .[1], spaceused: .[2], spaceavail: .[3]}\n else\n empty\n end\n ' | jq .spaceavail | tr -d '\"'\n",
"delta": "0:00:00.035607",
"end": "2024-05-05 11:02:21.042751",
"failed": false,
"invocation": {
"module_args": {
"_raw_params": "set -o pipefail\nif [ -d \"/var/lib/libvirt\" ]\nthen\n file_space=/var/lib/libvirt\nelse\n file_space=/var/lib\nfi\ndf -BG ${file_space} | jq -R -s '\n split(\"\\n\") |\n .[] |\n if test(\"^/\") then\n gsub(\" +\"; \" \") | split(\" \") | {mount: .[0], spacetotal: .[1], spaceused: .[2], spaceavail: .[3]}\n else\n empty\n end\n ' | jq .spaceavail | tr -d '\"'\n",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": "/bin/bash",
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true
}
},
"item": "hypervisor-02",
"msg": "",
"rc": 0,
"start": "2024-05-05 11:02:21.007144",
"stderr": "",
"stderr_lines": [],
"stdout": "697G",
"stdout_lines": [
"697G"
]
}
],
"skipped": false
}