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 08:17:13 +0000 00:02:13.85 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 2 6 348 347 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_a3d460907f7a96c5f7ae74becc015b3574f46d82d41b6e6acb647c35479d2ac6.slice",
                "Containers": [
                    {
                        "Id": "2d5e22c6c9f4f065e9a34fd2c0878ffd0b417d5775713d6706402d0b63c1dd1c",
                        "Name": "a3d460907f7a-infra",
                        "State": "running"
                    },
                    {
                        "Id": "349f02ecf3e6b9d79dd36b7c2da48970ffe58b25ca147e3aa9f586a07b200ba8",
                        "Name": "rkecluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "4d8f47d16822c9e70aa1b22ec6253365af7c7ea32b9a475807e6373880f1b9f3",
                        "Name": "rkecluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "5fede3e13377f0562ff5fafcde5affb4ddff656f14912184ba61c84cd232b21d",
                        "Name": "rkecluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "a5184e44735c10a03dba231f4a797fb2fe460f8e826c0e39e3c10a8dcb132c11",
                        "Name": "rkecluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "d6b2c8cb1afac16f9ef0cf8ad0a7ba31140be59762a0839ee8b2f2efc887b2ad",
                        "Name": "rkecluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "f2ec3cd046f95a8c70c9502eb6204a981dedb7cdf8bcabbad10877d86a2003db",
                        "Name": "rkecluster-provision",
                        "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": "2023-10-31T10:05:27.118933633+02:00",
                "ExitPolicy": "continue",
                "Hostname": "service.rkecluster.kubeinit.local",
                "Id": "a3d460907f7a96c5f7ae74becc015b3574f46d82d41b6e6acb647c35479d2ac6",
                "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": "2d5e22c6c9f4f065e9a34fd2c0878ffd0b417d5775713d6706402d0b63c1dd1c",
                "Name": "rkecluster-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_a3d460907f7a96c5f7ae74becc015b3574f46d82d41b6e6acb647c35479d2ac6.slice",
        "Containers": [
            {
                "Id": "2d5e22c6c9f4f065e9a34fd2c0878ffd0b417d5775713d6706402d0b63c1dd1c",
                "Name": "a3d460907f7a-infra",
                "State": "running"
            },
            {
                "Id": "349f02ecf3e6b9d79dd36b7c2da48970ffe58b25ca147e3aa9f586a07b200ba8",
                "Name": "rkecluster-apache",
                "State": "running"
            },
            {
                "Id": "4d8f47d16822c9e70aa1b22ec6253365af7c7ea32b9a475807e6373880f1b9f3",
                "Name": "rkecluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "5fede3e13377f0562ff5fafcde5affb4ddff656f14912184ba61c84cd232b21d",
                "Name": "rkecluster-bind",
                "State": "running"
            },
            {
                "Id": "a5184e44735c10a03dba231f4a797fb2fe460f8e826c0e39e3c10a8dcb132c11",
                "Name": "rkecluster-haproxy",
                "State": "running"
            },
            {
                "Id": "d6b2c8cb1afac16f9ef0cf8ad0a7ba31140be59762a0839ee8b2f2efc887b2ad",
                "Name": "rkecluster-registry",
                "State": "running"
            },
            {
                "Id": "f2ec3cd046f95a8c70c9502eb6204a981dedb7cdf8bcabbad10877d86a2003db",
                "Name": "rkecluster-provision",
                "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": "2023-10-31T10:05:27.118933633+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.rkecluster.kubeinit.local",
        "Id": "a3d460907f7a96c5f7ae74becc015b3574f46d82d41b6e6acb647c35479d2ac6",
        "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": "2d5e22c6c9f4f065e9a34fd2c0878ffd0b417d5775713d6706402d0b63c1dd1c",
        "Name": "rkecluster-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_69e042e7afc834979c037f20be958e34583a5ebc6bdfa11fe48d2fd773c77eaa.slice",
        "Containers": [
            {
                "Id": "134404cecc22819c7765f7d4b56a0dd7af3701c47cf40d224503d516426cbd0f",
                "Name": "69e042e7afc8-infra",
                "State": "running"
            },
            {
                "Id": "2b494fe8dc3a1dca86d44a3a126b15b261450d9d1dbf02f49a1f7c3996992332",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-31T10:02:24.754456508+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "69e042e7afc834979c037f20be958e34583a5ebc6bdfa11fe48d2fd773c77eaa",
        "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": "134404cecc22819c7765f7d4b56a0dd7af3701c47cf40d224503d516426cbd0f",
        "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": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True