Playbook #1

/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
31 Oct 2023 08:44:29 +0000 00:45:59.97 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 9 7 1091 1091 53 1

Task result details

Field Value
changed
True
msg
All items completed
results

Result #1

Field Value
ansible_loop_var
item
changed
True
cmd
set -o pipefail
if [ -d "/var/lib/libvirt" ]
then
    file_space=/var/lib/libvirt
else
    file_space=/var/lib
fi
df -BG ${file_space} |    jq -R -s '
        split("\n") |
        .[] |
        if test("^/") then
            gsub(" +"; " ") | split(" ") | {mount: .[0], spacetotal: .[1], spaceused: .[2], spaceavail: .[3]}
        else
            empty
        end
    ' | jq .spaceavail | tr -d '"'
delta
0:00:00.036503
end
2023-10-31 10:47:07.234031
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
2023-10-31 10:47:07.197528
stderr

stderr_lines
[]
stdout
688G
stdout_lines
[
    "688G"
]