Playbook #1

/root/kubeinit/ci/builds/bsU8uCNn/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
27 Apr 2024 08:37:34 +0000 00:14:17.82 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 7 10 778 845 48 1

Task result details

Field Value
changed
False
msg
All items completed
results

Result #1

Field Value
ansible_facts
{
    "kubeinit_validations_hypervisors_free_disk_space": {
        "hypervisor-01": 687
    }
}
ansible_loop_var
item
changed
False
failed
False
item
{
    "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.038382",
    "end": "2024-04-27 11:40:41.111256",
    "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-04-27 11:40:41.072874",
    "stderr": "",
    "stderr_lines": [],
    "stdout": "687G",
    "stdout_lines": [
        "687G"
    ]
}



Result #2

Field Value
ansible_facts
{
    "kubeinit_validations_hypervisors_free_disk_space": {
        "hypervisor-01": 687,
        "hypervisor-02": 697
    }
}
ansible_loop_var
item
changed
False
failed
False
item
{
    "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.036412",
    "end": "2024-04-27 11:40:41.427916",
    "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-04-27 11:40:41.391504",
    "stderr": "",
    "stderr_lines": [],
    "stdout": "697G",
    "stdout_lines": [
        "697G"
    ]
}