Playbook #2

/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
29 Oct 2023 00:16:23 +0000 00:02:24.46 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 2 6 348 347 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_e5d5d577e00835bc08fe47327d05346e0fbb3763cfc9486fff59f5a159bf885c.slice",
                "Containers": [
                    {
                        "Id": "083218dff585a572e09bc068ad34389e05907ab8449fec09fc22f04295fbcb52",
                        "Name": "cdkcluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "411594bc8203b55f949869f238a1d385dea33cd20edeaeacb1f562414c98d139",
                        "Name": "cdkcluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "79897f9b14c96b78c9efaf5204c8faedb0fe9491207aa23c3b989f19f2669540",
                        "Name": "cdkcluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "9aa7bab430167c463d3a0e89940a8821a39aecd735ab7e4ed38d989502809670",
                        "Name": "cdkcluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "9d5e0aad8748421a177f3ed3359be500631de9d622ed5d043adf9abedb057ab2",
                        "Name": "e5d5d577e008-infra",
                        "State": "running"
                    },
                    {
                        "Id": "be3096f8a3f37d3aedd3e13ebc6217977296269098512756167f76cf26ca1603",
                        "Name": "cdkcluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "c538dc15c303f1c198b8bf69fb7b29d5e561f29b1a33e730fe5ecda6b36d9f98",
                        "Name": "cdkcluster-apache",
                        "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": "2023-10-29T02:05:52.305802437+02:00",
                "ExitPolicy": "continue",
                "Hostname": "service.cdkcluster.kubeinit.local",
                "Id": "e5d5d577e00835bc08fe47327d05346e0fbb3763cfc9486fff59f5a159bf885c",
                "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": "9d5e0aad8748421a177f3ed3359be500631de9d622ed5d043adf9abedb057ab2",
                "Name": "cdkcluster-service-pod",
                "NumContainers": 7,
                "SharedNamespaces": [
                    "ipc",
                    "net",
                    "uts"
                ],
                "State": "Running"
            }
        ]
    ]
}
ansible_loop_var
orphaned_pod
changed
False
failed
False
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_e5d5d577e00835bc08fe47327d05346e0fbb3763cfc9486fff59f5a159bf885c.slice",
        "Containers": [
            {
                "Id": "083218dff585a572e09bc068ad34389e05907ab8449fec09fc22f04295fbcb52",
                "Name": "cdkcluster-bind",
                "State": "running"
            },
            {
                "Id": "411594bc8203b55f949869f238a1d385dea33cd20edeaeacb1f562414c98d139",
                "Name": "cdkcluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "79897f9b14c96b78c9efaf5204c8faedb0fe9491207aa23c3b989f19f2669540",
                "Name": "cdkcluster-registry",
                "State": "running"
            },
            {
                "Id": "9aa7bab430167c463d3a0e89940a8821a39aecd735ab7e4ed38d989502809670",
                "Name": "cdkcluster-haproxy",
                "State": "running"
            },
            {
                "Id": "9d5e0aad8748421a177f3ed3359be500631de9d622ed5d043adf9abedb057ab2",
                "Name": "e5d5d577e008-infra",
                "State": "running"
            },
            {
                "Id": "be3096f8a3f37d3aedd3e13ebc6217977296269098512756167f76cf26ca1603",
                "Name": "cdkcluster-provision",
                "State": "running"
            },
            {
                "Id": "c538dc15c303f1c198b8bf69fb7b29d5e561f29b1a33e730fe5ecda6b36d9f98",
                "Name": "cdkcluster-apache",
                "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": "2023-10-29T02:05:52.305802437+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.cdkcluster.kubeinit.local",
        "Id": "e5d5d577e00835bc08fe47327d05346e0fbb3763cfc9486fff59f5a159bf885c",
        "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": "9d5e0aad8748421a177f3ed3359be500631de9d622ed5d043adf9abedb057ab2",
        "Name": "cdkcluster-service-pod",
        "NumContainers": 7,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "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_43943052eee577066ec1ad8825a4d7680fb2c357e9c4eb0aca8fdee6cdeaedec.slice",
        "Containers": [
            {
                "Id": "2c893259f7bfdd8997cad48bcfe981574b718aa2022067fd7e4c8e1d1f31bcfd",
                "Name": "api-server",
                "State": "running"
            },
            {
                "Id": "e53c1bc0db06bb0f840eccf261197ce377a7415f47a01efd4b4368361e7c25f0",
                "Name": "43943052eee5-infra",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-29T02:02:52.872128579+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "43943052eee577066ec1ad8825a4d7680fb2c357e9c4eb0aca8fdee6cdeaedec",
        "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": "e53c1bc0db06bb0f840eccf261197ce377a7415f47a01efd4b4368361e7c25f0",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True