Playbook #1

/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 08:44:29 +0000 00:45:59.97 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 9 7 1091 1091 53 1

Task result details

Field Value
changed
False
msg
All items completed
results

Result #1

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_147fa58bad2ae5d415ede2270cedb79c71a58a65b89c7b926646ac21710fb879.slice",
        "Containers": [
            {
                "Id": "5f9b8bceb9fdb3ff5de32220b9d10d07f037c856230bf88c31d0210301c66312",
                "Name": "147fa58bad2a-infra",
                "State": "running"
            },
            {
                "Id": "d128035f799a5fc0b0de3bf497f50c9efce6222c28d0bfbb661528065a36c4a1",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-31T10:44:17.759935382+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "147fa58bad2ae5d415ede2270cedb79c71a58a65b89c7b926646ac21710fb879",
        "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": "5f9b8bceb9fdb3ff5de32220b9d10d07f037c856230bf88c31d0210301c66312",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True



Result #2

Field Value
ansible_facts
{
    "orphaned_cluster_pods": [
        [
            "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": [
                    "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_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": [
            "net",
            "uts",
            "ipc"
        ],
        "State": "Running"
    }
]