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
31 Oct 2023 02:10:23 +0000 00:02:29.06 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_69755a7d2c0d1a518e60502161ba6a21a453e0638f325a4b9cd45c364ad753cb.slice",
                "Containers": [
                    {
                        "Id": "06d554cb227f55298a1d50d861c8bbcd20287132e718e37bccdfc38778cc86e5",
                        "Name": "cdkcluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "3f5fa12326bc6e35370e41571f2f095b8fe9030f9b69a8e6a795648fa85f9e60",
                        "Name": "cdkcluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "665e920b7189fd22ec8bd9c3ac7f909332753449681341eb75e4a5579c97b1ba",
                        "Name": "cdkcluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "6cb2683bc7c00a6461e42a5782a1841a5426e84406839454753643b044ab151d",
                        "Name": "69755a7d2c0d-infra",
                        "State": "running"
                    },
                    {
                        "Id": "7cd6c1772a4ec85a9f70ef79d38391da21b907bcc19afcc6b5e2b5dcaa6e88de",
                        "Name": "cdkcluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "92ab2b53b89148a43c546c90f9adad1ce84cbf0e27dd6e2d0f2c6eadabc2748b",
                        "Name": "cdkcluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "aed70edbb62056820f77a8cfc3baf8163313d40bbf0ed79995da6b285d791a75",
                        "Name": "cdkcluster-registry",
                        "State": "running"
                    }
                ],
                "CreateCgroup": true,
                "CreateCommand": [
                    "podman",
                    "pod",
                    "create",
                    "--name",
                    "cdkcluster-service-pod",
                    "--network",
                    "cdkcluster-service-bridge",
                    "--hostname",
                    "service.cdkcluster.kubeinit.local",
                    "--dns",
                    "10.0.0.253",
                    "--dns",
                    "10.11.5.160",
                    "--dns-search",
                    "cdkcluster.kubeinit.local"
                ],
                "CreateInfra": true,
                "Created": "2023-10-31T03:58:47.915402756+02:00",
                "ExitPolicy": "continue",
                "Hostname": "service.cdkcluster.kubeinit.local",
                "Id": "69755a7d2c0d1a518e60502161ba6a21a453e0638f325a4b9cd45c364ad753cb",
                "InfraConfig": {
                    "DNSOption": null,
                    "DNSSearch": [
                        "cdkcluster.kubeinit.local"
                    ],
                    "DNSServer": [
                        "10.0.0.253",
                        "10.11.5.160"
                    ],
                    "HostAdd": null,
                    "HostNetwork": false,
                    "NetworkOptions": null,
                    "Networks": [
                        "cdkcluster-service-bridge"
                    ],
                    "NoManageHosts": false,
                    "NoManageResolvConf": false,
                    "PortBindings": {},
                    "StaticIP": "",
                    "StaticMAC": "",
                    "pid_ns": "private",
                    "userns": "host",
                    "uts_ns": "private"
                },
                "InfraContainerID": "6cb2683bc7c00a6461e42a5782a1841a5426e84406839454753643b044ab151d",
                "Name": "cdkcluster-service-pod",
                "NumContainers": 7,
                "SharedNamespaces": [
                    "uts",
                    "ipc",
                    "net"
                ],
                "State": "Running"
            }
        ]
    ]
}
ansible_loop_var
orphaned_pod
changed
False
failed
False
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_69755a7d2c0d1a518e60502161ba6a21a453e0638f325a4b9cd45c364ad753cb.slice",
        "Containers": [
            {
                "Id": "06d554cb227f55298a1d50d861c8bbcd20287132e718e37bccdfc38778cc86e5",
                "Name": "cdkcluster-bind",
                "State": "running"
            },
            {
                "Id": "3f5fa12326bc6e35370e41571f2f095b8fe9030f9b69a8e6a795648fa85f9e60",
                "Name": "cdkcluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "665e920b7189fd22ec8bd9c3ac7f909332753449681341eb75e4a5579c97b1ba",
                "Name": "cdkcluster-provision",
                "State": "running"
            },
            {
                "Id": "6cb2683bc7c00a6461e42a5782a1841a5426e84406839454753643b044ab151d",
                "Name": "69755a7d2c0d-infra",
                "State": "running"
            },
            {
                "Id": "7cd6c1772a4ec85a9f70ef79d38391da21b907bcc19afcc6b5e2b5dcaa6e88de",
                "Name": "cdkcluster-haproxy",
                "State": "running"
            },
            {
                "Id": "92ab2b53b89148a43c546c90f9adad1ce84cbf0e27dd6e2d0f2c6eadabc2748b",
                "Name": "cdkcluster-apache",
                "State": "running"
            },
            {
                "Id": "aed70edbb62056820f77a8cfc3baf8163313d40bbf0ed79995da6b285d791a75",
                "Name": "cdkcluster-registry",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "cdkcluster-service-pod",
            "--network",
            "cdkcluster-service-bridge",
            "--hostname",
            "service.cdkcluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "cdkcluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2023-10-31T03:58:47.915402756+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.cdkcluster.kubeinit.local",
        "Id": "69755a7d2c0d1a518e60502161ba6a21a453e0638f325a4b9cd45c364ad753cb",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "cdkcluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "cdkcluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "6cb2683bc7c00a6461e42a5782a1841a5426e84406839454753643b044ab151d",
        "Name": "cdkcluster-service-pod",
        "NumContainers": 7,
        "SharedNamespaces": [
            "uts",
            "ipc",
            "net"
        ],
        "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_b6236cba5c916fa874904286f110a7baaedf8d5bfd54b1f8ca834283111719cf.slice",
        "Containers": [
            {
                "Id": "4a4216b7a3b0f62f51fe0c68829db49ddabeb57eb54612213cb44b9ab6efaa79",
                "Name": "api-server",
                "State": "running"
            },
            {
                "Id": "8322372ec5549588471d633fddba93602c456e710f10387febc06afbcdbfd6b3",
                "Name": "b6236cba5c91-infra",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-31T03:55:25.803652736+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "b6236cba5c916fa874904286f110a7baaedf8d5bfd54b1f8ca834283111719cf",
        "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": "8322372ec5549588471d633fddba93602c456e710f10387febc06afbcdbfd6b3",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True



Result #3

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_d7a320c6ff26a986f84551d0f67128d288a8eceb1836bd71c3a31456d301c7b9.slice",
        "Containers": [
            {
                "Id": "3b86563a1c59c93dd0b25c90e292048fc1f6066bdf9ab0607016bff2c7e37c9e",
                "Name": "k8scluster-registry",
                "State": "running"
            },
            {
                "Id": "6b1d5e73b23c1972f76f1abf7cc6584fa9bee48d3c732bf5c228744941f486b1",
                "Name": "d7a320c6ff26-infra",
                "State": "running"
            },
            {
                "Id": "96365cbf0d9c1ffc32e6c7d5d7e7cd0f3432fd0199150101a9a8c9f5658f7699",
                "Name": "k8scluster-apache",
                "State": "running"
            },
            {
                "Id": "b3ba4bb4941f2c206fdf04cbd39c716e3b1da36a1f06883ad2d15013f7f6e2bc",
                "Name": "k8scluster-provision",
                "State": "running"
            },
            {
                "Id": "b53f50fad6a08a85599b3eb9ca5936c306e143f56b3e7fd548bbc8b715347846",
                "Name": "k8scluster-bind",
                "State": "running"
            },
            {
                "Id": "e9bc3295e5f7bb163f7f4e63e8e09a9244cfdf30953241d40ce056a137537a29",
                "Name": "k8scluster-haproxy",
                "State": "running"
            },
            {
                "Id": "f3334d0dbd7276942786d3287df77ff221aaf578fe4015c5d9b1d9a58df24016",
                "Name": "k8scluster-dnsmasq",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "k8scluster-service-pod",
            "--network",
            "k8scluster-service-bridge",
            "--hostname",
            "service.k8scluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "k8scluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2023-10-30T10:04:27.788591934+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.k8scluster.kubeinit.local",
        "Id": "d7a320c6ff26a986f84551d0f67128d288a8eceb1836bd71c3a31456d301c7b9",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "k8scluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "k8scluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "6b1d5e73b23c1972f76f1abf7cc6584fa9bee48d3c732bf5c228744941f486b1",
        "Name": "k8scluster-service-pod",
        "NumContainers": 7,
        "SharedNamespaces": [
            "uts",
            "ipc",
            "net"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True