Playbook #2

/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
05 May 2024 02:12:42 +0000 00:03:32.38 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 3 10 356 414 23 1

Task result details

Field Value
changed
False
msg
All items completed
results

Result #1

Field Value
ansible_facts
{
    "orphaned_cluster_pods": [
        [
            "service",
            {
                "CgroupParent": "machine.slice",
                "CgroupPath": "machine.slice/machine-libpod_pod_2ee6dac866fe9d755345e4d077bdd0f2d97ebea51e6dbb44ad33c1e78855983c.slice",
                "Containers": [
                    {
                        "Id": "449cc00338b021a3c454cad5b4b89fb355b5f90ddb0754fc32317e7518b2d693",
                        "Name": "2ee6dac866fe-infra",
                        "State": "running"
                    },
                    {
                        "Id": "5e2179ac965a87c16aeaf061b2a13d9192f9c6676df94c0ace0a3e77f50019de",
                        "Name": "cdkcluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "6e85f7eed3445219255b5aa525109a2de447408cea4a6cfb0e223c30c178553c",
                        "Name": "cdkcluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "9323300da88b04183cee21157960d81c352e3b9c3c8a19fd78aa316febf994ec",
                        "Name": "cdkcluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "a46cc3d9252c9bfc4051c763d79e2c8caf7d49e2855a0fe86e8d01cd9d9caa6d",
                        "Name": "cdkcluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "e5f3c4d04f3b4bb2ac774c3d6b63bc9ff94037d0d7eb095d53ca5eb653e218ff",
                        "Name": "cdkcluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "f8e5ec8bc55c3e3b7781c5b01ae7c35b42e7972a9852ce12a4ce8c9cba8e72a1",
                        "Name": "cdkcluster-registry",
                        "State": "running"
                    }
                ],
                "CreateCgroup": true,
                "CreateCommand": [
                    "podman",
                    "pod",
                    "create",
                    "--name",
                    "cdkcluster-service-pod",
                    "--network",
                    "cdkcluster-service-bridge",
                    "--hostname",
                    "service.cdkcluster.kubeinit.local",
                    "--dns",
                    "10.0.0.253",
                    "--dns",
                    "10.11.5.160",
                    "--dns-search",
                    "cdkcluster.kubeinit.local"
                ],
                "CreateInfra": true,
                "Created": "2024-05-05T05:04:07.715257232+03:00",
                "ExitPolicy": "continue",
                "Hostname": "service.cdkcluster.kubeinit.local",
                "Id": "2ee6dac866fe9d755345e4d077bdd0f2d97ebea51e6dbb44ad33c1e78855983c",
                "InfraConfig": {
                    "DNSOption": null,
                    "DNSSearch": [
                        "cdkcluster.kubeinit.local"
                    ],
                    "DNSServer": [
                        "10.0.0.253",
                        "10.11.5.160"
                    ],
                    "HostAdd": null,
                    "HostNetwork": false,
                    "NetworkOptions": null,
                    "Networks": [
                        "cdkcluster-service-bridge"
                    ],
                    "NoManageHosts": false,
                    "NoManageResolvConf": false,
                    "PortBindings": {},
                    "StaticIP": "",
                    "StaticMAC": "",
                    "pid_ns": "private",
                    "userns": "host",
                    "uts_ns": "private"
                },
                "InfraContainerID": "449cc00338b021a3c454cad5b4b89fb355b5f90ddb0754fc32317e7518b2d693",
                "Name": "cdkcluster-service-pod",
                "NumContainers": 7,
                "SharedNamespaces": [
                    "net",
                    "uts",
                    "ipc"
                ],
                "State": "Running"
            }
        ]
    ]
}
ansible_loop_var
orphaned_pod
changed
False
failed
False
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_2ee6dac866fe9d755345e4d077bdd0f2d97ebea51e6dbb44ad33c1e78855983c.slice",
        "Containers": [
            {
                "Id": "449cc00338b021a3c454cad5b4b89fb355b5f90ddb0754fc32317e7518b2d693",
                "Name": "2ee6dac866fe-infra",
                "State": "running"
            },
            {
                "Id": "5e2179ac965a87c16aeaf061b2a13d9192f9c6676df94c0ace0a3e77f50019de",
                "Name": "cdkcluster-apache",
                "State": "running"
            },
            {
                "Id": "6e85f7eed3445219255b5aa525109a2de447408cea4a6cfb0e223c30c178553c",
                "Name": "cdkcluster-provision",
                "State": "running"
            },
            {
                "Id": "9323300da88b04183cee21157960d81c352e3b9c3c8a19fd78aa316febf994ec",
                "Name": "cdkcluster-haproxy",
                "State": "running"
            },
            {
                "Id": "a46cc3d9252c9bfc4051c763d79e2c8caf7d49e2855a0fe86e8d01cd9d9caa6d",
                "Name": "cdkcluster-bind",
                "State": "running"
            },
            {
                "Id": "e5f3c4d04f3b4bb2ac774c3d6b63bc9ff94037d0d7eb095d53ca5eb653e218ff",
                "Name": "cdkcluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "f8e5ec8bc55c3e3b7781c5b01ae7c35b42e7972a9852ce12a4ce8c9cba8e72a1",
                "Name": "cdkcluster-registry",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "cdkcluster-service-pod",
            "--network",
            "cdkcluster-service-bridge",
            "--hostname",
            "service.cdkcluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "cdkcluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2024-05-05T05:04:07.715257232+03:00",
        "ExitPolicy": "continue",
        "Hostname": "service.cdkcluster.kubeinit.local",
        "Id": "2ee6dac866fe9d755345e4d077bdd0f2d97ebea51e6dbb44ad33c1e78855983c",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "cdkcluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "cdkcluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "449cc00338b021a3c454cad5b4b89fb355b5f90ddb0754fc32317e7518b2d693",
        "Name": "cdkcluster-service-pod",
        "NumContainers": 7,
        "SharedNamespaces": [
            "net",
            "uts",
            "ipc"
        ],
        "State": "Running"
    }
]



Result #2

Field Value
ansible_loop_var
orphaned_pod
changed
False
false_condition
pod_name == pod.Name
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_c75de34441f6058162126c7dccddf3739250cd17ff7ab6e96b7f2253868682ff.slice",
        "Containers": [
            {
                "Id": "8da46a4f6b229e8904c067144d60d03a768c735204270a3338d44bf1e3411c1c",
                "Name": "api-server",
                "State": "running"
            },
            {
                "Id": "fe1ede859482acbba42ae034d3541f1bb161becb0c42cc146d4786e969ff0e00",
                "Name": "c75de34441f6-infra",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2024-05-05T04:59:46.898059881+03:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "c75de34441f6058162126c7dccddf3739250cd17ff7ab6e96b7f2253868682ff",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": null,
            "DNSServer": null,
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "podman"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {
                "8000/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "26973"
                    }
                ]
            },
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "fe1ede859482acbba42ae034d3541f1bb161becb0c42cc146d4786e969ff0e00",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True