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 18:11:45 +0000 00:02:23.25 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_3d89b9037651fc97055fa39d5eb83d73f390bad24b518bb1fd282aa2c252dbf2.slice",
                "Containers": [
                    {
                        "Id": "008b5fc9448d26b6f2945893cdc136b87fcc3e94dca88dcbce5c1e617c52c077",
                        "Name": "okdcluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "3ed7efc02742ec314a3959b0eb44aa45da45c278f0831d4b99fef83452ee8859",
                        "Name": "okdcluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "9426c806d0716224d7e64fbc378df16574a8a414cd0c005b6bbcedd00f0db270",
                        "Name": "okdcluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "c2bea47aa92754c72534b056455ec8cb5d75c7f0590e2a0de4f43b8596b30f23",
                        "Name": "okdcluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "d28d7b75a6125d1701d594d4d16dd1b2a526c573a4824cc872c91f1d424bd515",
                        "Name": "3d89b9037651-infra",
                        "State": "running"
                    },
                    {
                        "Id": "d2a76bcf37cfbeae9cfc1c8018b3c3785e55c2db1f202bb76339a9ae37db2f44",
                        "Name": "okdcluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "f8117e72e80ebd16aecdfb57fabd2f59f2ca9cb879b1a0914a6e48e99fbdc475",
                        "Name": "okdcluster-dnsmasq",
                        "State": "running"
                    }
                ],
                "CreateCgroup": true,
                "CreateCommand": [
                    "podman",
                    "pod",
                    "create",
                    "--name",
                    "okdcluster-service-pod",
                    "--network",
                    "okdcluster-service-bridge",
                    "--hostname",
                    "service.okdcluster.kubeinit.local",
                    "--dns",
                    "10.0.0.253",
                    "--dns",
                    "10.11.5.160",
                    "--dns-search",
                    "okdcluster.kubeinit.local"
                ],
                "CreateInfra": true,
                "Created": "2023-10-29T19:55:07.480668581+02:00",
                "ExitPolicy": "continue",
                "Hostname": "service.okdcluster.kubeinit.local",
                "Id": "3d89b9037651fc97055fa39d5eb83d73f390bad24b518bb1fd282aa2c252dbf2",
                "InfraConfig": {
                    "DNSOption": null,
                    "DNSSearch": [
                        "okdcluster.kubeinit.local"
                    ],
                    "DNSServer": [
                        "10.0.0.253",
                        "10.11.5.160"
                    ],
                    "HostAdd": null,
                    "HostNetwork": false,
                    "NetworkOptions": null,
                    "Networks": [
                        "okdcluster-service-bridge"
                    ],
                    "NoManageHosts": false,
                    "NoManageResolvConf": false,
                    "PortBindings": {},
                    "StaticIP": "",
                    "StaticMAC": "",
                    "pid_ns": "private",
                    "userns": "host",
                    "uts_ns": "private"
                },
                "InfraContainerID": "d28d7b75a6125d1701d594d4d16dd1b2a526c573a4824cc872c91f1d424bd515",
                "Name": "okdcluster-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_3d89b9037651fc97055fa39d5eb83d73f390bad24b518bb1fd282aa2c252dbf2.slice",
        "Containers": [
            {
                "Id": "008b5fc9448d26b6f2945893cdc136b87fcc3e94dca88dcbce5c1e617c52c077",
                "Name": "okdcluster-bind",
                "State": "running"
            },
            {
                "Id": "3ed7efc02742ec314a3959b0eb44aa45da45c278f0831d4b99fef83452ee8859",
                "Name": "okdcluster-registry",
                "State": "running"
            },
            {
                "Id": "9426c806d0716224d7e64fbc378df16574a8a414cd0c005b6bbcedd00f0db270",
                "Name": "okdcluster-haproxy",
                "State": "running"
            },
            {
                "Id": "c2bea47aa92754c72534b056455ec8cb5d75c7f0590e2a0de4f43b8596b30f23",
                "Name": "okdcluster-apache",
                "State": "running"
            },
            {
                "Id": "d28d7b75a6125d1701d594d4d16dd1b2a526c573a4824cc872c91f1d424bd515",
                "Name": "3d89b9037651-infra",
                "State": "running"
            },
            {
                "Id": "d2a76bcf37cfbeae9cfc1c8018b3c3785e55c2db1f202bb76339a9ae37db2f44",
                "Name": "okdcluster-provision",
                "State": "running"
            },
            {
                "Id": "f8117e72e80ebd16aecdfb57fabd2f59f2ca9cb879b1a0914a6e48e99fbdc475",
                "Name": "okdcluster-dnsmasq",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "okdcluster-service-pod",
            "--network",
            "okdcluster-service-bridge",
            "--hostname",
            "service.okdcluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "okdcluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2023-10-29T19:55:07.480668581+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.okdcluster.kubeinit.local",
        "Id": "3d89b9037651fc97055fa39d5eb83d73f390bad24b518bb1fd282aa2c252dbf2",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "okdcluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "okdcluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "d28d7b75a6125d1701d594d4d16dd1b2a526c573a4824cc872c91f1d424bd515",
        "Name": "okdcluster-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_ebd923d64b71929635c52bdfaf2ff55546a23d25e7d94056a3a8a89bc532b8b8.slice",
        "Containers": [
            {
                "Id": "451e0c5c5d9d99bccd3e462726ca987ff19ab4c427038f594ce3cd6a19aacc84",
                "Name": "ebd923d64b71-infra",
                "State": "running"
            },
            {
                "Id": "a5863bb5cef065f83b7acc8b38dc5f75774aa057bfa8580964ccfd28eb8d7bf3",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-29T19:52:07.429027391+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "ebd923d64b71929635c52bdfaf2ff55546a23d25e7d94056a3a8a89bc532b8b8",
        "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": "451e0c5c5d9d99bccd3e462726ca987ff19ab4c427038f594ce3cd6a19aacc84",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "uts",
            "ipc",
            "net"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True