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
26 Oct 2023 20:21:26 +0000 00:02:46.07 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 2 9 354 353 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_27838c3feb1e0eb43c1c71244e3f0cd2fe528506efa3191e158d87ea77759b11.slice",
                "Containers": [
                    {
                        "Id": "08af2594096e8d3c05caf979545642e320d7ecd6973cc5f7fd5fa6beb39a72de",
                        "Name": "ekscluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "20fa95a56a8124a83aff7c44581376125e3525638579772180f6f17f7cbc2075",
                        "Name": "ekscluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "2ac75c1962e7eb7a1eb7709ef7d3eb555e41d003988124d9ce20b25bce91c296",
                        "Name": "ekscluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "4c3120f8830bcb84de53db91e9e83ca53f7821f2fd12188cb27f4b0e483a78a8",
                        "Name": "ekscluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "5921c44bf2b503ca49edf4c3a95900d37ad55a30a4e5d2d59ac4f4a6710379f0",
                        "Name": "ekscluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "6e1240576b3a498527c533614a0246940acc458cc4b567631961c51c69190dc6",
                        "Name": "27838c3feb1e-infra",
                        "State": "running"
                    },
                    {
                        "Id": "9fc8ac769c75ec9834c007a8c37a21757119c7de052332254213afc21c1db69f",
                        "Name": "ekscluster-registry",
                        "State": "running"
                    }
                ],
                "CreateCgroup": true,
                "CreateCommand": [
                    "podman",
                    "pod",
                    "create",
                    "--name",
                    "ekscluster-service-pod",
                    "--network",
                    "ekscluster-service-bridge",
                    "--hostname",
                    "service.ekscluster.kubeinit.local",
                    "--dns",
                    "10.0.0.253",
                    "--dns",
                    "10.11.5.160",
                    "--dns-search",
                    "ekscluster.kubeinit.local"
                ],
                "CreateInfra": true,
                "Created": "2023-10-26T22:39:18.77936704+03:00",
                "ExitPolicy": "continue",
                "Hostname": "service.ekscluster.kubeinit.local",
                "Id": "27838c3feb1e0eb43c1c71244e3f0cd2fe528506efa3191e158d87ea77759b11",
                "InfraConfig": {
                    "DNSOption": null,
                    "DNSSearch": [
                        "ekscluster.kubeinit.local"
                    ],
                    "DNSServer": [
                        "10.0.0.253",
                        "10.11.5.160"
                    ],
                    "HostAdd": null,
                    "HostNetwork": false,
                    "NetworkOptions": null,
                    "Networks": [
                        "ekscluster-service-bridge"
                    ],
                    "NoManageHosts": false,
                    "NoManageResolvConf": false,
                    "PortBindings": {},
                    "StaticIP": "",
                    "StaticMAC": "",
                    "pid_ns": "private",
                    "userns": "host",
                    "uts_ns": "private"
                },
                "InfraContainerID": "6e1240576b3a498527c533614a0246940acc458cc4b567631961c51c69190dc6",
                "Name": "ekscluster-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_27838c3feb1e0eb43c1c71244e3f0cd2fe528506efa3191e158d87ea77759b11.slice",
        "Containers": [
            {
                "Id": "08af2594096e8d3c05caf979545642e320d7ecd6973cc5f7fd5fa6beb39a72de",
                "Name": "ekscluster-haproxy",
                "State": "running"
            },
            {
                "Id": "20fa95a56a8124a83aff7c44581376125e3525638579772180f6f17f7cbc2075",
                "Name": "ekscluster-apache",
                "State": "running"
            },
            {
                "Id": "2ac75c1962e7eb7a1eb7709ef7d3eb555e41d003988124d9ce20b25bce91c296",
                "Name": "ekscluster-bind",
                "State": "running"
            },
            {
                "Id": "4c3120f8830bcb84de53db91e9e83ca53f7821f2fd12188cb27f4b0e483a78a8",
                "Name": "ekscluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "5921c44bf2b503ca49edf4c3a95900d37ad55a30a4e5d2d59ac4f4a6710379f0",
                "Name": "ekscluster-provision",
                "State": "running"
            },
            {
                "Id": "6e1240576b3a498527c533614a0246940acc458cc4b567631961c51c69190dc6",
                "Name": "27838c3feb1e-infra",
                "State": "running"
            },
            {
                "Id": "9fc8ac769c75ec9834c007a8c37a21757119c7de052332254213afc21c1db69f",
                "Name": "ekscluster-registry",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ekscluster-service-pod",
            "--network",
            "ekscluster-service-bridge",
            "--hostname",
            "service.ekscluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "ekscluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2023-10-26T22:39:18.77936704+03:00",
        "ExitPolicy": "continue",
        "Hostname": "service.ekscluster.kubeinit.local",
        "Id": "27838c3feb1e0eb43c1c71244e3f0cd2fe528506efa3191e158d87ea77759b11",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "ekscluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "ekscluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "6e1240576b3a498527c533614a0246940acc458cc4b567631961c51c69190dc6",
        "Name": "ekscluster-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_0144d2b5edbcfb5ea882dd7a8062a80be6031c5d6fecaffdec7800f338c43972.slice",
        "Containers": [
            {
                "Id": "9e52a8ed707d4174e471f073710f8bec7f1b0f790f9a3e04a70a011e65d7465f",
                "Name": "api-server",
                "State": "running"
            },
            {
                "Id": "a9ac72fd109c92181b4e548f50fe7f42280391cb4bb34ce0733a4ec36431da88",
                "Name": "0144d2b5edbc-infra",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-26T22:36:11.904878292+03:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "0144d2b5edbcfb5ea882dd7a8062a80be6031c5d6fecaffdec7800f338c43972",
        "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": "a9ac72fd109c92181b4e548f50fe7f42280391cb4bb34ce0733a4ec36431da88",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "net",
            "uts",
            "ipc"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True