Playbook #2

/root/kubeinit/ci/builds/bsU8uCNn/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
05 May 2024 02:36:53 +0000 00:03:23.61 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 3 11 358 416 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_5b56015ab3b6382776bc2419ada6a698f5b40ba4fb1f23f50f4d976f838878a3.slice",
                "Containers": [
                    {
                        "Id": "33fb2d489c53a8ae9aa09b367ce80035276d2645dce83c1bd527c7e0c2c23fd7",
                        "Name": "k8scluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "51b6f56dc4da2bed5c086a77d082b28078cb51de87b26af15fad8145ab69c016",
                        "Name": "k8scluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "81a5c26af8a21f8c0bd2da997be1af9e16a14b960f514790842703b5a99f6831",
                        "Name": "5b56015ab3b6-infra",
                        "State": "running"
                    },
                    {
                        "Id": "8c63567b2faac176d1f654beadcd0fa93e29ace9c1eabf1dec2cf4bfff9a24c3",
                        "Name": "k8scluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "b1cb42d1b6ce06e1d5e5686704fdfa25db1a4e5693e799b8504d99fb448efad8",
                        "Name": "k8scluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "b51666f4dbb5de57e302adc21fd02c72c681a3f19a83a4c4cc9c4d188cdb760c",
                        "Name": "k8scluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "d0f70166fd9ab11bb0a764ba869f5de860344eaa18982aabf7cecffbe96ec8ed",
                        "Name": "k8scluster-registry",
                        "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": "2024-05-05T05:30:21.009351051+03:00",
                "ExitPolicy": "continue",
                "Hostname": "service.k8scluster.kubeinit.local",
                "Id": "5b56015ab3b6382776bc2419ada6a698f5b40ba4fb1f23f50f4d976f838878a3",
                "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": "81a5c26af8a21f8c0bd2da997be1af9e16a14b960f514790842703b5a99f6831",
                "Name": "k8scluster-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_5b56015ab3b6382776bc2419ada6a698f5b40ba4fb1f23f50f4d976f838878a3.slice",
        "Containers": [
            {
                "Id": "33fb2d489c53a8ae9aa09b367ce80035276d2645dce83c1bd527c7e0c2c23fd7",
                "Name": "k8scluster-haproxy",
                "State": "running"
            },
            {
                "Id": "51b6f56dc4da2bed5c086a77d082b28078cb51de87b26af15fad8145ab69c016",
                "Name": "k8scluster-apache",
                "State": "running"
            },
            {
                "Id": "81a5c26af8a21f8c0bd2da997be1af9e16a14b960f514790842703b5a99f6831",
                "Name": "5b56015ab3b6-infra",
                "State": "running"
            },
            {
                "Id": "8c63567b2faac176d1f654beadcd0fa93e29ace9c1eabf1dec2cf4bfff9a24c3",
                "Name": "k8scluster-bind",
                "State": "running"
            },
            {
                "Id": "b1cb42d1b6ce06e1d5e5686704fdfa25db1a4e5693e799b8504d99fb448efad8",
                "Name": "k8scluster-provision",
                "State": "running"
            },
            {
                "Id": "b51666f4dbb5de57e302adc21fd02c72c681a3f19a83a4c4cc9c4d188cdb760c",
                "Name": "k8scluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "d0f70166fd9ab11bb0a764ba869f5de860344eaa18982aabf7cecffbe96ec8ed",
                "Name": "k8scluster-registry",
                "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": "2024-05-05T05:30:21.009351051+03:00",
        "ExitPolicy": "continue",
        "Hostname": "service.k8scluster.kubeinit.local",
        "Id": "5b56015ab3b6382776bc2419ada6a698f5b40ba4fb1f23f50f4d976f838878a3",
        "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": "81a5c26af8a21f8c0bd2da997be1af9e16a14b960f514790842703b5a99f6831",
        "Name": "k8scluster-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_785aef7bd0d34f22defc0e508518b640362e5c3f7542ef7581e8fe998bafdb9e.slice",
        "Containers": [
            {
                "Id": "aa5d3d849326320cc060c097607546538a713a5d4ecee3b11b06d054fa40f141",
                "Name": "785aef7bd0d3-infra",
                "State": "running"
            },
            {
                "Id": "e37b2c585974bfab83c9cc311a80358b33dbece86eef891ee2df99243c5e91ba",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2024-05-05T05:26:09.846557413+03:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "785aef7bd0d34f22defc0e508518b640362e5c3f7542ef7581e8fe998bafdb9e",
        "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": "aa5d3d849326320cc060c097607546538a713a5d4ecee3b11b06d054fa40f141",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True