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
30 Oct 2023 01:00:29 +0000 00:02:16.31 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 2 8 352 351 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_c3dc4e71ec7b0e3e8bd915b630c33156dad915d1bc9314d66d9ad97208dac516.slice",
                "Containers": [
                    {
                        "Id": "0fe9a57b2a3966a105aacd99e343a6c9f0c3f29a582a913ac2e54bc993aca54a",
                        "Name": "ekscluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "22d1fd48a553f420d6503baa6cd7bef35483b20c1fb80ea207fe97af65e5eb17",
                        "Name": "ekscluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "85b63f727682d108b53d85dbf98086c5997f617647203c6e7b10f1d4a03950b3",
                        "Name": "ekscluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "865e331604d4b2eb46d063cab1d8c92772a163ec98315562615e549ec647bc25",
                        "Name": "ekscluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "91660dc772c95e7789c752852f192b807559c70cabe167bea630826a9bf88d1a",
                        "Name": "c3dc4e71ec7b-infra",
                        "State": "running"
                    },
                    {
                        "Id": "91bed46bf4e80607f96aa3264dd3e0306e716c056c414dcd9e1da7946576aa99",
                        "Name": "ekscluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "fe512480dda12b94d925ffb10b6649c123837e28bdf471bccd9c285067348486",
                        "Name": "ekscluster-bind",
                        "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-30T02:53:47.54815328+02:00",
                "ExitPolicy": "continue",
                "Hostname": "service.ekscluster.kubeinit.local",
                "Id": "c3dc4e71ec7b0e3e8bd915b630c33156dad915d1bc9314d66d9ad97208dac516",
                "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": "91660dc772c95e7789c752852f192b807559c70cabe167bea630826a9bf88d1a",
                "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_c3dc4e71ec7b0e3e8bd915b630c33156dad915d1bc9314d66d9ad97208dac516.slice",
        "Containers": [
            {
                "Id": "0fe9a57b2a3966a105aacd99e343a6c9f0c3f29a582a913ac2e54bc993aca54a",
                "Name": "ekscluster-apache",
                "State": "running"
            },
            {
                "Id": "22d1fd48a553f420d6503baa6cd7bef35483b20c1fb80ea207fe97af65e5eb17",
                "Name": "ekscluster-provision",
                "State": "running"
            },
            {
                "Id": "85b63f727682d108b53d85dbf98086c5997f617647203c6e7b10f1d4a03950b3",
                "Name": "ekscluster-registry",
                "State": "running"
            },
            {
                "Id": "865e331604d4b2eb46d063cab1d8c92772a163ec98315562615e549ec647bc25",
                "Name": "ekscluster-haproxy",
                "State": "running"
            },
            {
                "Id": "91660dc772c95e7789c752852f192b807559c70cabe167bea630826a9bf88d1a",
                "Name": "c3dc4e71ec7b-infra",
                "State": "running"
            },
            {
                "Id": "91bed46bf4e80607f96aa3264dd3e0306e716c056c414dcd9e1da7946576aa99",
                "Name": "ekscluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "fe512480dda12b94d925ffb10b6649c123837e28bdf471bccd9c285067348486",
                "Name": "ekscluster-bind",
                "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-30T02:53:47.54815328+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.ekscluster.kubeinit.local",
        "Id": "c3dc4e71ec7b0e3e8bd915b630c33156dad915d1bc9314d66d9ad97208dac516",
        "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": "91660dc772c95e7789c752852f192b807559c70cabe167bea630826a9bf88d1a",
        "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_a26fbba45960ac112c3395c5b94b2aad47f739b1f04821424d71fcc71db947d9.slice",
        "Containers": [
            {
                "Id": "83e7ace4933b901c56e07fe2cee1e530387691294882187b0376bbf479d2355e",
                "Name": "a26fbba45960-infra",
                "State": "running"
            },
            {
                "Id": "baf73b9464c4e3f2e060fb07d95d016d85dabd7c235e9dc195abdba11c687620",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-30T02:50:39.465314886+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "a26fbba45960ac112c3395c5b94b2aad47f739b1f04821424d71fcc71db947d9",
        "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": "83e7ace4933b901c56e07fe2cee1e530387691294882187b0376bbf479d2355e",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True