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 10:30:33 +0000 00:02:43.17 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_dfd630e63e7cbdeb01c1396ca8e2c77e3d340ced2b2d8792ef48ba36f1d8dbce.slice",
                "Containers": [
                    {
                        "Id": "2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
                        "Name": "dfd630e63e7c-infra",
                        "State": "running"
                    },
                    {
                        "Id": "43887c3e9053dc98f8071aaa8394900f00bd2f7d83f44ebf69765747f26a54b5",
                        "Name": "okdcluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "6b856d20aed460a0ec94e6a00b1ffd73ba5436c328f2717ece270992cbe13ee0",
                        "Name": "okdcluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "6d2d0d43dcdf84e23c62fc19f1da529408c23ab9c5d992e300181d067c440016",
                        "Name": "okdcluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "b44d6829c430ba6eeb608f72385daea79139cb1dbe3523006be6139bd9f8b973",
                        "Name": "okdcluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275",
                        "Name": "okdcluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "eb9d7301dc69ecd83fca6f72ae5d25a1b6b7a7302dfdde3cfae939af5b775c86",
                        "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-29T12:07:51.099038342+02:00",
                "ExitPolicy": "continue",
                "Hostname": "service.okdcluster.kubeinit.local",
                "Id": "dfd630e63e7cbdeb01c1396ca8e2c77e3d340ced2b2d8792ef48ba36f1d8dbce",
                "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": "2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
                "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_dfd630e63e7cbdeb01c1396ca8e2c77e3d340ced2b2d8792ef48ba36f1d8dbce.slice",
        "Containers": [
            {
                "Id": "2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
                "Name": "dfd630e63e7c-infra",
                "State": "running"
            },
            {
                "Id": "43887c3e9053dc98f8071aaa8394900f00bd2f7d83f44ebf69765747f26a54b5",
                "Name": "okdcluster-apache",
                "State": "running"
            },
            {
                "Id": "6b856d20aed460a0ec94e6a00b1ffd73ba5436c328f2717ece270992cbe13ee0",
                "Name": "okdcluster-provision",
                "State": "running"
            },
            {
                "Id": "6d2d0d43dcdf84e23c62fc19f1da529408c23ab9c5d992e300181d067c440016",
                "Name": "okdcluster-bind",
                "State": "running"
            },
            {
                "Id": "b44d6829c430ba6eeb608f72385daea79139cb1dbe3523006be6139bd9f8b973",
                "Name": "okdcluster-haproxy",
                "State": "running"
            },
            {
                "Id": "ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275",
                "Name": "okdcluster-registry",
                "State": "running"
            },
            {
                "Id": "eb9d7301dc69ecd83fca6f72ae5d25a1b6b7a7302dfdde3cfae939af5b775c86",
                "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-29T12:07:51.099038342+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.okdcluster.kubeinit.local",
        "Id": "dfd630e63e7cbdeb01c1396ca8e2c77e3d340ced2b2d8792ef48ba36f1d8dbce",
        "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": "2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
        "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_01c7758280f47665ea6dddee5ddc738cf98245452d5f8e531c36a3ced8802d8a.slice",
        "Containers": [
            {
                "Id": "080b2fbe26998b4c3968b1206e7f647551085fd5e772e64ff082b675448d06db",
                "Name": "01c7758280f4-infra",
                "State": "running"
            },
            {
                "Id": "c215b5455bb03f9d8afeec8076f3830f7d93a389f22dcd48011f4f048f4cb52a",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-29T12:04:27.140258217+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "01c7758280f47665ea6dddee5ddc738cf98245452d5f8e531c36a3ced8802d8a",
        "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": "080b2fbe26998b4c3968b1206e7f647551085fd5e772e64ff082b675448d06db",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True