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
29 Oct 2023 10:04:38 +0000 00:25:53.67 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 5 9 822 822 48 1

Task result details

Field Value
actions
[
    "created okdcluster-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": "2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
            "io.podman.annotations.init": "TRUE"
        },
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/etc/docker/registry/config.yml"
        ],
        "CreateCommand": [
            "podman",
            "container",
            "create",
            "--name",
            "okdcluster-registry",
            "--pod",
            "okdcluster-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",
            "okdcluster-data:/var/kubeinit",
            "kubeinit/okdcluster-registry:latest"
        ],
        "Domainname": "",
        "Entrypoint": "/entrypoint.sh",
        "Env": [
            "TERM=xterm",
            "REGISTRY_AUTH_HTPASSWD_PATH=auth/htpasswd",
            "REGISTRY_HTTP_TLS_CERTIFICATE=certs/domain.crt",
            "REGISTRY_COMPATIBILITY_SCHEMA1_ENABLED=True",
            "REGISTRY_AUTH=htpasswd",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "container=podman",
            "REGISTRY_HTTP_TLS_KEY=certs/domain.key",
            "REGISTRY_AUTH_HTPASSWD_REALM=Registry",
            "REGISTRY_HTTP_SECRET=ALongRandomSecretForRegistry"
        ],
        "HealthcheckOnFailureAction": "none",
        "Hostname": "service.okdcluster.kubeinit.local",
        "Image": "localhost/kubeinit/okdcluster-registry:latest",
        "Labels": {
            "io.buildah.version": "1.31.0",
            "kubeinit-cluster-name": "okdcluster"
        },
        "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/ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275/userdata/conmon.pid",
    "Created": "2023-10-29T12:11:15.396417479+02:00",
    "Dependencies": [
        "2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a"
    ],
    "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/a239d022c78ba6ff3f5d30ffc5be5084008bb18db10b31afde89ece91504ebc1/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/0ca2a07dd868c5f6ccfc42fc2f23b2637825d5129834908347d151002e72ff85/diff",
            "WorkDir": "/var/lib/containers/storage/overlay/0ca2a07dd868c5f6ccfc42fc2f23b2637825d5129834908347d151002e72ff85/work"
        },
        "Name": "overlay"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "c7a078a6d681ac6bac7e01d9d2e6a8685c6ec9e006e0ea0a8794644e22affd82:/var/lib/registry:rprivate,rw,nodev,exec,nosuid,rbind",
            "okdcluster-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_dfd630e63e7cbdeb01c1396ca8e2c77e3d340ced2b2d8792ef48ba36f1d8dbce.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:2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
        "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:2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
        "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:2e6644331485907f412e14e82b3d534e560374a651bbbdae2c8f64b637e0b50a",
        "Ulimits": [
            {
                "Hard": 1048576,
                "Name": "RLIMIT_NOFILE",
                "Soft": 1048576
            },
            {
                "Hard": 4194304,
                "Name": "RLIMIT_NPROC",
                "Soft": 4194304
            }
        ],
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "",
    "HostsPath": "",
    "Id": "ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275",
    "Image": "63a0b54578a7be465f023ccd13065e327b4b71ffc440309a33e64cd7c7944b56",
    "ImageDigest": "sha256:2b15434917d7673b23d70984870a7d1ddcc60d839f751ed6674216ea53d3d469",
    "ImageName": "localhost/kubeinit/okdcluster-registry:latest",
    "IsInfra": false,
    "IsService": false,
    "MountLabel": "system_u:object_r:container_file_t:s0:c149,c560",
    "Mounts": [
        {
            "Destination": "/var/lib/registry",
            "Driver": "local",
            "Mode": "",
            "Name": "c7a078a6d681ac6bac7e01d9d2e6a8685c6ec9e006e0ea0a8794644e22affd82",
            "Options": [
                "nodev",
                "exec",
                "nosuid",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/c7a078a6d681ac6bac7e01d9d2e6a8685c6ec9e006e0ea0a8794644e22affd82/_data",
            "Type": "volume"
        },
        {
            "Destination": "/var/kubeinit",
            "Driver": "local",
            "Mode": "",
            "Name": "okdcluster-data",
            "Options": [
                "nosuid",
                "nodev",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/okdcluster-data/_data",
            "Type": "volume"
        }
    ],
    "Name": "okdcluster-registry",
    "Namespace": "",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "okdcluster-service-bridge": {
                "Aliases": [
                    "2e6644331485"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "10.89.0.1",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "10.89.0.86",
                "IPPrefixLen": 24,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "5a:83:58:89:51:56",
                "NetworkID": "okdcluster-service-bridge"
            }
        },
        "Ports": {},
        "SandboxID": "",
        "SandboxKey": "/run/netns/netns-5ab29f43-9a4a-c205-12a2-73889666501f"
    },
    "OCIRuntime": "crun",
    "Path": "/run/podman-init",
    "PidFile": "/run/containers/storage/overlay-containers/ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275/userdata/pidfile",
    "Pod": "dfd630e63e7cbdeb01c1396ca8e2c77e3d340ced2b2d8792ef48ba36f1d8dbce",
    "ProcessLabel": "system_u:system_r:container_t:s0:c149,c560",
    "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/ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275/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/okdcluster-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": "okdcluster-registry",
        "network": null,
        "network_aliases": null,
        "no_hosts": null,
        "oom_kill_disable": null,
        "oom_score_adj": null,
        "pid": null,
        "pids_limit": null,
        "pod": "okdcluster-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": [
            "okdcluster-data:/var/kubeinit"
        ],
        "volumes": [
            "okdcluster-data:/var/kubeinit"
        ],
        "volumes_from": null,
        "workdir": null
    }
}
podman_actions
[
    "podman create --name okdcluster-registry --pod okdcluster-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 okdcluster-data:/var/kubeinit kubeinit/okdcluster-registry:latest"
]
podman_systemd
{
    "container-okdcluster-registry": "# container-okdcluster-registry.service\n# autogenerated by Podman 4.5.1\n# Sun Oct 29 12:11:15 IST 2023\n\n[Unit]\nDescription=Podman container-okdcluster-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 okdcluster-registry\nExecStop=/usr/bin/podman stop  \\\n\t-t 10 okdcluster-registry\nExecStopPost=/usr/bin/podman stop  \\\n\t-t 10 okdcluster-registry\nPIDFile=/run/containers/storage/overlay-containers/ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275/userdata/conmon.pid\nType=forking\n\n[Install]\nWantedBy=default.target\n"
}
stderr

stderr_lines
[]
stdout
ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275
stdout_lines
[
    "ddc6014ec9dd686bff29f3a9d93b5d416dab0f419ea9276fcc10bd998f163275"
]