Playbook #1

/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
28 Apr 2024 09:15:02 +0000 00:13:09.86 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 7 10 778 845 48 1

Task result details

Field Value
actions
[
    "created cdkcluster-registry"
]
attempts
1
changed
True
container
{
    "AppArmorProfile": "",
    "Args": [
        "--",
        "/entrypoint.sh",
        "/etc/docker/registry/config.yml"
    ],
    "BoundingCaps": [
        "CAP_CHOWN",
        "CAP_DAC_OVERRIDE",
        "CAP_FOWNER",
        "CAP_FSETID",
        "CAP_KILL",
        "CAP_NET_BIND_SERVICE",
        "CAP_SETFCAP",
        "CAP_SETGID",
        "CAP_SETPCAP",
        "CAP_SETUID",
        "CAP_SYS_CHROOT"
    ],
    "Config": {
        "Annotations": {
            "io.kubernetes.cri-o.SandboxID": "1a109b6ea7bc66c12a1cc483bc5472a6a110883c295096dbee3665e8b013b554",
            "io.podman.annotations.init": "TRUE"
        },
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/etc/docker/registry/config.yml"
        ],
        "CreateCommand": [
            "podman",
            "container",
            "create",
            "--name",
            "cdkcluster-registry",
            "--pod",
            "cdkcluster-service-pod",
            "--init",
            "--env",
            "REGISTRY_AUTH=htpasswd",
            "--env",
            "REGISTRY_AUTH_HTPASSWD_REALM=Registry",
            "--env",
            "REGISTRY_HTTP_SECRET=ALongRandomSecretForRegistry",
            "--env",
            "REGISTRY_AUTH_HTPASSWD_PATH=auth/htpasswd",
            "--env",
            "REGISTRY_HTTP_TLS_CERTIFICATE=certs/domain.crt",
            "--env",
            "REGISTRY_HTTP_TLS_KEY=certs/domain.key",
            "--env",
            "REGISTRY_COMPATIBILITY_SCHEMA1_ENABLED=True",
            "--volume",
            "cdkcluster-data:/var/kubeinit",
            "kubeinit/cdkcluster-registry:latest"
        ],
        "Domainname": "",
        "Entrypoint": "/entrypoint.sh",
        "Env": [
            "REGISTRY_AUTH_HTPASSWD_REALM=Registry",
            "REGISTRY_HTTP_TLS_KEY=certs/domain.key",
            "container=podman",
            "TERM=xterm",
            "REGISTRY_AUTH=htpasswd",
            "REGISTRY_HTTP_SECRET=ALongRandomSecretForRegistry",
            "REGISTRY_AUTH_HTPASSWD_PATH=auth/htpasswd",
            "REGISTRY_HTTP_TLS_CERTIFICATE=certs/domain.crt",
            "REGISTRY_COMPATIBILITY_SCHEMA1_ENABLED=True",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "HealthcheckOnFailureAction": "none",
        "Hostname": "service.cdkcluster.kubeinit.local",
        "Image": "localhost/kubeinit/cdkcluster-registry:latest",
        "Labels": {
            "io.buildah.version": "1.31.0",
            "kubeinit-cluster-name": "cdkcluster"
        },
        "OnBuild": null,
        "OpenStdin": false,
        "Passwd": true,
        "StdinOnce": false,
        "StopSignal": 15,
        "StopTimeout": 10,
        "Timeout": 0,
        "Tty": false,
        "Umask": "0022",
        "User": "",
        "Volumes": null,
        "WorkingDir": "/",
        "sdNotifyMode": "container"
    },
    "ConmonPidFile": "/run/containers/storage/overlay-containers/bb79912109fd40fd21cb0942aa33ab75c83de25748bd94b4f90b4e6f17c1c3a5/userdata/conmon.pid",
    "Created": "2024-04-28T12:22:54.430865638+03:00",
    "Dependencies": [
        "1a109b6ea7bc66c12a1cc483bc5472a6a110883c295096dbee3665e8b013b554"
    ],
    "Driver": "overlay",
    "EffectiveCaps": [
        "CAP_CHOWN",
        "CAP_DAC_OVERRIDE",
        "CAP_FOWNER",
        "CAP_FSETID",
        "CAP_KILL",
        "CAP_NET_BIND_SERVICE",
        "CAP_SETFCAP",
        "CAP_SETGID",
        "CAP_SETPCAP",
        "CAP_SETUID",
        "CAP_SYS_CHROOT"
    ],
    "ExecIDs": [],
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/containers/storage/overlay/b55a1133e100e61bf660e1f49e4baae8e48ec359bdd4247d5ae7abe7a46c9de4/diff:/var/lib/containers/storage/overlay/b4e53545fdfb0db29fa54dcb6ed6aeec87f9ed7f23902d62a9891cbd11aba525/diff:/var/lib/containers/storage/overlay/1e2538c68ef6e5f99632573b271d5c73e35fe44a1daab94dca1b05ff2691111c/diff:/var/lib/containers/storage/overlay/22881e9add3e5069d059ece98be19ec84734dc692c192e3e5a6dd0c3a2645b24/diff:/var/lib/containers/storage/overlay/2712e908a0897987cd8666d8eb3d411c990e21d3a3ae57a93ec0a1090dd57c97/diff:/var/lib/containers/storage/overlay/e5e13b0c77cbb769548077189c3da2f0a764ceca06af49d8d558e759f5c232bd/diff",
            "UpperDir": "/var/lib/containers/storage/overlay/e2560334d35d8331bcbbb20f3e6c0039abe0429ae31fc7cdfe50710088570228/diff",
            "WorkDir": "/var/lib/containers/storage/overlay/e2560334d35d8331bcbbb20f3e6c0039abe0429ae31fc7cdfe50710088570228/work"
        },
        "Name": "overlay"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "23ef4a2be4ab0626bb08d639fa5196067f59ffa47a880fce1ab70536df876a49:/var/lib/registry:rprivate,rw,nodev,exec,nosuid,rbind",
            "cdkcluster-data:/var/kubeinit:rw,rprivate,nosuid,nodev,rbind"
        ],
        "BlkioDeviceReadBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceWriteIOps": null,
        "BlkioWeight": 0,
        "BlkioWeightDevice": null,
        "CapAdd": [],
        "CapDrop": [],
        "Cgroup": "",
        "CgroupConf": null,
        "CgroupManager": "systemd",
        "CgroupMode": "private",
        "CgroupParent": "machine.slice/machine-libpod_pod_c1f0539d39aacd962f10f6893515fd8d44a0cb9d80e66ce2d59b65183fa68835.slice",
        "Cgroups": "default",
        "ConsoleSize": [
            0,
            0
        ],
        "ContainerIDFile": "",
        "CpuCount": 0,
        "CpuPercent": 0,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpuShares": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "Devices": [],
        "DiskQuota": 0,
        "Dns": [],
        "DnsOptions": [],
        "DnsSearch": [],
        "ExtraHosts": [],
        "GroupAdd": [],
        "IOMaximumBandwidth": 0,
        "IOMaximumIOps": 0,
        "Init": true,
        "IpcMode": "container:1a109b6ea7bc66c12a1cc483bc5472a6a110883c295096dbee3665e8b013b554",
        "Isolation": "",
        "KernelMemory": 0,
        "Links": null,
        "LogConfig": {
            "Config": null,
            "Path": "",
            "Size": "0B",
            "Tag": "",
            "Type": "journald"
        },
        "Memory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": 0,
        "NanoCpus": 0,
        "NetworkMode": "container:1a109b6ea7bc66c12a1cc483bc5472a6a110883c295096dbee3665e8b013b554",
        "OomKillDisable": false,
        "OomScoreAdj": 0,
        "PidMode": "private",
        "PidsLimit": 2048,
        "PortBindings": {},
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": ""
        },
        "Runtime": "oci",
        "SecurityOpt": [],
        "ShmSize": 65536000,
        "Tmpfs": {},
        "UTSMode": "container:1a109b6ea7bc66c12a1cc483bc5472a6a110883c295096dbee3665e8b013b554",
        "Ulimits": [
            {
                "Hard": 1048576,
                "Name": "RLIMIT_NOFILE",
                "Soft": 1048576
            },
            {
                "Hard": 4194304,
                "Name": "RLIMIT_NPROC",
                "Soft": 4194304
            }
        ],
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "",
    "HostsPath": "",
    "Id": "bb79912109fd40fd21cb0942aa33ab75c83de25748bd94b4f90b4e6f17c1c3a5",
    "Image": "d9ae956b6348a6bf6f187dfc3e79c62fe5017fa66d95259e8691f98e7401e930",
    "ImageDigest": "sha256:ce4eed44d43961544ed2302cdce2bf59ae657f74e6497388f4875a0708d37259",
    "ImageName": "localhost/kubeinit/cdkcluster-registry:latest",
    "IsInfra": false,
    "IsService": false,
    "MountLabel": "system_u:object_r:container_file_t:s0:c1,c264",
    "Mounts": [
        {
            "Destination": "/var/lib/registry",
            "Driver": "local",
            "Mode": "",
            "Name": "23ef4a2be4ab0626bb08d639fa5196067f59ffa47a880fce1ab70536df876a49",
            "Options": [
                "nodev",
                "exec",
                "nosuid",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/23ef4a2be4ab0626bb08d639fa5196067f59ffa47a880fce1ab70536df876a49/_data",
            "Type": "volume"
        },
        {
            "Destination": "/var/kubeinit",
            "Driver": "local",
            "Mode": "",
            "Name": "cdkcluster-data",
            "Options": [
                "nosuid",
                "nodev",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/cdkcluster-data/_data",
            "Type": "volume"
        }
    ],
    "Name": "cdkcluster-registry",
    "Namespace": "",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "cdkcluster-service-bridge": {
                "Aliases": [
                    "1a109b6ea7bc"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "10.89.0.1",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "10.89.0.51",
                "IPPrefixLen": 24,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "a2:0e:c1:dd:f6:c2",
                "NetworkID": "cdkcluster-service-bridge"
            }
        },
        "Ports": {},
        "SandboxID": "",
        "SandboxKey": "/run/netns/netns-68b7511a-9bfd-339b-9b2c-c6961cde7834"
    },
    "OCIRuntime": "crun",
    "Path": "/run/podman-init",
    "PidFile": "/run/containers/storage/overlay-containers/bb79912109fd40fd21cb0942aa33ab75c83de25748bd94b4f90b4e6f17c1c3a5/userdata/pidfile",
    "Pod": "c1f0539d39aacd962f10f6893515fd8d44a0cb9d80e66ce2d59b65183fa68835",
    "ProcessLabel": "system_u:system_r:container_t:s0:c1,c264",
    "ResolvConfPath": "",
    "RestartCount": 0,
    "Rootfs": "",
    "State": {
        "CheckpointedAt": "0001-01-01T00:00:00Z",
        "Dead": false,
        "Error": "",
        "ExitCode": 0,
        "FinishedAt": "0001-01-01T00:00:00Z",
        "Health": {
            "FailingStreak": 0,
            "Log": null,
            "Status": ""
        },
        "OOMKilled": false,
        "OciVersion": "1.1.0-rc.1",
        "Paused": false,
        "Pid": 0,
        "Restarting": false,
        "RestoredAt": "0001-01-01T00:00:00Z",
        "Running": false,
        "StartedAt": "0001-01-01T00:00:00Z",
        "Status": "created"
    },
    "StaticDir": "/var/lib/containers/storage/overlay-containers/bb79912109fd40fd21cb0942aa33ab75c83de25748bd94b4f90b4e6f17c1c3a5/userdata"
}
invocation
{
    "module_args": {
        "annotation": null,
        "authfile": null,
        "blkio_weight": null,
        "blkio_weight_device": null,
        "cap_add": null,
        "cap_drop": null,
        "cgroup_parent": null,
        "cgroupns": null,
        "cgroups": null,
        "cidfile": null,
        "cmd_args": null,
        "command": null,
        "conmon_pidfile": null,
        "cpu_period": null,
        "cpu_rt_period": null,
        "cpu_rt_runtime": null,
        "cpu_shares": null,
        "cpus": null,
        "cpuset_cpus": null,
        "cpuset_mems": null,
        "debug": false,
        "detach": true,
        "detach_keys": null,
        "device": null,
        "device_read_bps": null,
        "device_read_iops": null,
        "device_write_bps": null,
        "device_write_iops": null,
        "dns": null,
        "dns_option": null,
        "dns_search": null,
        "entrypoint": null,
        "env": {
            "REGISTRY_AUTH": "htpasswd",
            "REGISTRY_AUTH_HTPASSWD_PATH": "auth/htpasswd",
            "REGISTRY_AUTH_HTPASSWD_REALM": "Registry",
            "REGISTRY_COMPATIBILITY_SCHEMA1_ENABLED": true,
            "REGISTRY_HTTP_SECRET": "ALongRandomSecretForRegistry",
            "REGISTRY_HTTP_TLS_CERTIFICATE": "certs/domain.crt",
            "REGISTRY_HTTP_TLS_KEY": "certs/domain.key"
        },
        "env_file": null,
        "env_host": null,
        "etc_hosts": null,
        "executable": "podman",
        "expose": null,
        "force_restart": false,
        "generate_systemd": {},
        "gidmap": null,
        "group_add": null,
        "healthcheck": null,
        "healthcheck_interval": null,
        "healthcheck_retries": null,
        "healthcheck_start_period": null,
        "healthcheck_timeout": null,
        "hooks_dir": null,
        "hostname": null,
        "http_proxy": null,
        "image": "kubeinit/cdkcluster-registry:latest",
        "image_strict": false,
        "image_volume": null,
        "init": true,
        "init_path": null,
        "interactive": null,
        "ip": null,
        "ipc": null,
        "kernel_memory": null,
        "label": null,
        "label_file": null,
        "log_driver": null,
        "log_level": null,
        "log_opt": null,
        "mac_address": null,
        "memory": null,
        "memory_reservation": null,
        "memory_swap": null,
        "memory_swappiness": null,
        "mount": null,
        "name": "cdkcluster-registry",
        "network": null,
        "network_aliases": null,
        "no_hosts": null,
        "oom_kill_disable": null,
        "oom_score_adj": null,
        "pid": null,
        "pids_limit": null,
        "pod": "cdkcluster-service-pod",
        "privileged": null,
        "publish": null,
        "publish_all": null,
        "read_only": null,
        "read_only_tmpfs": null,
        "recreate": false,
        "requires": null,
        "restart_policy": null,
        "rm": null,
        "rootfs": null,
        "sdnotify": null,
        "secrets": null,
        "security_opt": null,
        "shm_size": null,
        "sig_proxy": null,
        "state": "stopped",
        "stop_signal": null,
        "stop_timeout": null,
        "subgidname": null,
        "subuidname": null,
        "sysctl": null,
        "systemd": null,
        "timezone": null,
        "tmpfs": null,
        "tty": null,
        "uidmap": null,
        "ulimit": null,
        "user": null,
        "userns": null,
        "uts": null,
        "volume": [
            "cdkcluster-data:/var/kubeinit"
        ],
        "volumes": [
            "cdkcluster-data:/var/kubeinit"
        ],
        "volumes_from": null,
        "workdir": null
    }
}
podman_actions
[
    "podman create --name cdkcluster-registry --pod cdkcluster-service-pod --init --env REGISTRY_AUTH=htpasswd --env REGISTRY_AUTH_HTPASSWD_REALM=Registry --env REGISTRY_HTTP_SECRET=ALongRandomSecretForRegistry --env REGISTRY_AUTH_HTPASSWD_PATH=auth/htpasswd --env REGISTRY_HTTP_TLS_CERTIFICATE=certs/domain.crt --env REGISTRY_HTTP_TLS_KEY=certs/domain.key --env REGISTRY_COMPATIBILITY_SCHEMA1_ENABLED=True --volume cdkcluster-data:/var/kubeinit kubeinit/cdkcluster-registry:latest"
]
podman_systemd
{
    "container-cdkcluster-registry": "# container-cdkcluster-registry.service\n# autogenerated by Podman 4.5.1\n# Sun Apr 28 12:22:54 IDT 2024\n\n[Unit]\nDescription=Podman container-cdkcluster-registry.service\nDocumentation=man:podman-generate-systemd(1)\nWants=network-online.target\nAfter=network-online.target\nRequiresMountsFor=/run/containers/storage\n\n[Service]\nEnvironment=PODMAN_SYSTEMD_UNIT=%n\nRestart=on-failure\nTimeoutStopSec=70\nExecStart=/usr/bin/podman start cdkcluster-registry\nExecStop=/usr/bin/podman stop  \\\n\t-t 10 cdkcluster-registry\nExecStopPost=/usr/bin/podman stop  \\\n\t-t 10 cdkcluster-registry\nPIDFile=/run/containers/storage/overlay-containers/bb79912109fd40fd21cb0942aa33ab75c83de25748bd94b4f90b4e6f17c1c3a5/userdata/conmon.pid\nType=forking\n\n[Install]\nWantedBy=default.target\n"
}
stderr

stderr_lines
[]
stdout
bb79912109fd40fd21cb0942aa33ab75c83de25748bd94b4f90b4e6f17c1c3a5
stdout_lines
[
    "bb79912109fd40fd21cb0942aa33ab75c83de25748bd94b4f90b4e6f17c1c3a5"
]