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 01:43:24 +0000 00:03:22.74 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 3 9 354 412 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_90ece6ee0179abb27b350bd86dd1020855f765a1daced3f09428d73f76f90214.slice",
                "Containers": [
                    {
                        "Id": "1f03409685fee56e1ffa4e0c0758627b74fb8ac9cb39d4a59abd4f37baa02e6f",
                        "Name": "rkecluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
                        "Name": "90ece6ee0179-infra",
                        "State": "running"
                    },
                    {
                        "Id": "94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9",
                        "Name": "rkecluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "b814ad64d340a5ed850116ec7f274018a03a64991a7de8ccd6d86ba4f89e6eb4",
                        "Name": "rkecluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "c20b3c2b4e15eeac17db3ade129c1ba67b611f7d069aac09b963336371cf9413",
                        "Name": "rkecluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "d97fef602eb5ce8691326ac78886515bea66b9d8f445ec839392ad6178f781a8",
                        "Name": "rkecluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "f8d68fd7f810bc8a594651e2b890dcd351033b8df36bba956540ccd73139f214",
                        "Name": "rkecluster-apache",
                        "State": "running"
                    }
                ],
                "CreateCgroup": true,
                "CreateCommand": [
                    "podman",
                    "pod",
                    "create",
                    "--name",
                    "rkecluster-service-pod",
                    "--network",
                    "rkecluster-service-bridge",
                    "--hostname",
                    "service.rkecluster.kubeinit.local",
                    "--dns",
                    "10.0.0.253",
                    "--dns",
                    "10.11.5.160",
                    "--dns-search",
                    "rkecluster.kubeinit.local"
                ],
                "CreateInfra": true,
                "Created": "2024-05-05T04:36:04.869360596+03:00",
                "ExitPolicy": "continue",
                "Hostname": "service.rkecluster.kubeinit.local",
                "Id": "90ece6ee0179abb27b350bd86dd1020855f765a1daced3f09428d73f76f90214",
                "InfraConfig": {
                    "DNSOption": null,
                    "DNSSearch": [
                        "rkecluster.kubeinit.local"
                    ],
                    "DNSServer": [
                        "10.0.0.253",
                        "10.11.5.160"
                    ],
                    "HostAdd": null,
                    "HostNetwork": false,
                    "NetworkOptions": null,
                    "Networks": [
                        "rkecluster-service-bridge"
                    ],
                    "NoManageHosts": false,
                    "NoManageResolvConf": false,
                    "PortBindings": {},
                    "StaticIP": "",
                    "StaticMAC": "",
                    "pid_ns": "private",
                    "userns": "host",
                    "uts_ns": "private"
                },
                "InfraContainerID": "7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
                "Name": "rkecluster-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_90ece6ee0179abb27b350bd86dd1020855f765a1daced3f09428d73f76f90214.slice",
        "Containers": [
            {
                "Id": "1f03409685fee56e1ffa4e0c0758627b74fb8ac9cb39d4a59abd4f37baa02e6f",
                "Name": "rkecluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
                "Name": "90ece6ee0179-infra",
                "State": "running"
            },
            {
                "Id": "94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9",
                "Name": "rkecluster-registry",
                "State": "running"
            },
            {
                "Id": "b814ad64d340a5ed850116ec7f274018a03a64991a7de8ccd6d86ba4f89e6eb4",
                "Name": "rkecluster-bind",
                "State": "running"
            },
            {
                "Id": "c20b3c2b4e15eeac17db3ade129c1ba67b611f7d069aac09b963336371cf9413",
                "Name": "rkecluster-provision",
                "State": "running"
            },
            {
                "Id": "d97fef602eb5ce8691326ac78886515bea66b9d8f445ec839392ad6178f781a8",
                "Name": "rkecluster-haproxy",
                "State": "running"
            },
            {
                "Id": "f8d68fd7f810bc8a594651e2b890dcd351033b8df36bba956540ccd73139f214",
                "Name": "rkecluster-apache",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "rkecluster-service-pod",
            "--network",
            "rkecluster-service-bridge",
            "--hostname",
            "service.rkecluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "rkecluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2024-05-05T04:36:04.869360596+03:00",
        "ExitPolicy": "continue",
        "Hostname": "service.rkecluster.kubeinit.local",
        "Id": "90ece6ee0179abb27b350bd86dd1020855f765a1daced3f09428d73f76f90214",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "rkecluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "rkecluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
        "Name": "rkecluster-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_b271c35237cd41c462322cf000402dcad548296224b5c9fe109bc047e5505ce8.slice",
        "Containers": [
            {
                "Id": "ebe89576cddf1385f4f016cc50a6c1dd1516b3b6c77b37f138b21ef984b510e7",
                "Name": "b271c35237cd-infra",
                "State": "running"
            },
            {
                "Id": "ff22b29c1464ead8d47b5f5f8e327570a2fe3289fb4d3c2e6dbcbc67775b92bd",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2024-05-05T04:31:54.871568364+03:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "b271c35237cd41c462322cf000402dcad548296224b5c9fe109bc047e5505ce8",
        "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": "ebe89576cddf1385f4f016cc50a6c1dd1516b3b6c77b37f138b21ef984b510e7",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True