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
25 Oct 2023 08:55:28 +0000 00:02:44.25 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_c861f7ccf9c59f23da51b0f2ab50e078b054441ca7bdb44c8f39b866f9ccda4e.slice",
                "Containers": [
                    {
                        "Id": "203a27e10fcc793f0bae4587753c23dad7a1cd5ce344afc17b5eed2660ca7c2c",
                        "Name": "c861f7ccf9c5-infra",
                        "State": "running"
                    },
                    {
                        "Id": "2b28eba10d7daa2d829bc1a52dc10989aa2951cfd3121f23ed123b173b04e956",
                        "Name": "k8scluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "4c2e3ffa93561bdd1bb0626052f901337791ab752e5b5487312f2b1021753d6e",
                        "Name": "k8scluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "5b51e721d9d21c46ae5901e56affd3c582d8b7f44aae6c56929c23aacfe9aacb",
                        "Name": "k8scluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "9037ca87d58b416fc2af7116ef2ef8c5d185984f0a14a14bb735185283c3ef6d",
                        "Name": "k8scluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "da08086752c5bad14ed4654206e30718f7999b6188d3133c876aec288603eca1",
                        "Name": "k8scluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "de58315a530ea01ff5857f0d9010582956d5178c7ff34143ef00107f1bd27592",
                        "Name": "k8scluster-bind",
                        "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-25T11:05:30.721739317+03:00",
                "ExitPolicy": "continue",
                "Hostname": "service.k8scluster.kubeinit.local",
                "Id": "c861f7ccf9c59f23da51b0f2ab50e078b054441ca7bdb44c8f39b866f9ccda4e",
                "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": "203a27e10fcc793f0bae4587753c23dad7a1cd5ce344afc17b5eed2660ca7c2c",
                "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_c861f7ccf9c59f23da51b0f2ab50e078b054441ca7bdb44c8f39b866f9ccda4e.slice",
        "Containers": [
            {
                "Id": "203a27e10fcc793f0bae4587753c23dad7a1cd5ce344afc17b5eed2660ca7c2c",
                "Name": "c861f7ccf9c5-infra",
                "State": "running"
            },
            {
                "Id": "2b28eba10d7daa2d829bc1a52dc10989aa2951cfd3121f23ed123b173b04e956",
                "Name": "k8scluster-apache",
                "State": "running"
            },
            {
                "Id": "4c2e3ffa93561bdd1bb0626052f901337791ab752e5b5487312f2b1021753d6e",
                "Name": "k8scluster-haproxy",
                "State": "running"
            },
            {
                "Id": "5b51e721d9d21c46ae5901e56affd3c582d8b7f44aae6c56929c23aacfe9aacb",
                "Name": "k8scluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "9037ca87d58b416fc2af7116ef2ef8c5d185984f0a14a14bb735185283c3ef6d",
                "Name": "k8scluster-provision",
                "State": "running"
            },
            {
                "Id": "da08086752c5bad14ed4654206e30718f7999b6188d3133c876aec288603eca1",
                "Name": "k8scluster-registry",
                "State": "running"
            },
            {
                "Id": "de58315a530ea01ff5857f0d9010582956d5178c7ff34143ef00107f1bd27592",
                "Name": "k8scluster-bind",
                "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-25T11:05:30.721739317+03:00",
        "ExitPolicy": "continue",
        "Hostname": "service.k8scluster.kubeinit.local",
        "Id": "c861f7ccf9c59f23da51b0f2ab50e078b054441ca7bdb44c8f39b866f9ccda4e",
        "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": "203a27e10fcc793f0bae4587753c23dad7a1cd5ce344afc17b5eed2660ca7c2c",
        "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_12151255926a6b0b457e86361f70efb435440d4d762a8d49c3ae029ea05956a6.slice",
        "Containers": [
            {
                "Id": "0f8bc1c77b9bcb0454cd39d03b7b9544c215ae5e8ed843f2804a82723b19a22e",
                "Name": "api-server",
                "State": "running"
            },
            {
                "Id": "35de5f932985ab270d58e7c6e16246d61e27a24cd9f2e3b7a039e2f2c59983f2",
                "Name": "12151255926a-infra",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-25T11:02:22.814961463+03:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "12151255926a6b0b457e86361f70efb435440d4d762a8d49c3ae029ea05956a6",
        "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": "35de5f932985ab270d58e7c6e16246d61e27a24cd9f2e3b7a039e2f2c59983f2",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True