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 16:01:56 +0000 00:38:07.95 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 5 6 825 825 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": "a6831257e00fccc893725c9fde40735c23431763a0f012979b5e7fd92961d05f",
            "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": [
            "container=podman",
            "REGISTRY_AUTH_HTPASSWD_REALM=Registry",
            "REGISTRY_HTTP_TLS_KEY=certs/domain.key",
            "REGISTRY_AUTH=htpasswd",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "TERM=xterm",
            "REGISTRY_HTTP_SECRET=ALongRandomSecretForRegistry",
            "REGISTRY_AUTH_HTPASSWD_PATH=auth/htpasswd",
            "REGISTRY_HTTP_TLS_CERTIFICATE=certs/domain.crt",
            "REGISTRY_COMPATIBILITY_SCHEMA1_ENABLED=True"
        ],
        "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/6bc830d2013bfb1a00ce26d63298ee79eea2799303d60125c8d463d7032c9227/userdata/conmon.pid",
    "Created": "2023-10-29T18:08:16.428081425+02:00",
    "Dependencies": [
        "a6831257e00fccc893725c9fde40735c23431763a0f012979b5e7fd92961d05f"
    ],
    "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/21ceca760c711817f2a34c87b0f6ae5e9908be859b04fd2aa14e9f8b513b8469/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/520c74e9d51b8cc80d7826a730a19ed8f407c7e72f39489d8333e04f9771f6ed/diff",
            "WorkDir": "/var/lib/containers/storage/overlay/520c74e9d51b8cc80d7826a730a19ed8f407c7e72f39489d8333e04f9771f6ed/work"
        },
        "Name": "overlay"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "84fe8350fa5a9b5f7b0bb30dc6ce7be6864f357810f4355e2694b068e3a2fe8b:/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_cedba9d424354e6be254fcbec2baeef2984219e38f89e10e3881084dbcf92643.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:a6831257e00fccc893725c9fde40735c23431763a0f012979b5e7fd92961d05f",
        "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:a6831257e00fccc893725c9fde40735c23431763a0f012979b5e7fd92961d05f",
        "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:a6831257e00fccc893725c9fde40735c23431763a0f012979b5e7fd92961d05f",
        "Ulimits": [
            {
                "Hard": 1048576,
                "Name": "RLIMIT_NOFILE",
                "Soft": 1048576
            },
            {
                "Hard": 4194304,
                "Name": "RLIMIT_NPROC",
                "Soft": 4194304
            }
        ],
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "",
    "HostsPath": "",
    "Id": "6bc830d2013bfb1a00ce26d63298ee79eea2799303d60125c8d463d7032c9227",
    "Image": "e101fb4dc56a7bf2d76a54ac3a8e0668daa1daa8d2e22ca012e738c040b75ce2",
    "ImageDigest": "sha256:847f89be067a6aad153a10863357bd5f611f5e40e532188e3fbbe4fd941ea6f5",
    "ImageName": "localhost/kubeinit/okdcluster-registry:latest",
    "IsInfra": false,
    "IsService": false,
    "MountLabel": "system_u:object_r:container_file_t:s0:c492,c622",
    "Mounts": [
        {
            "Destination": "/var/lib/registry",
            "Driver": "local",
            "Mode": "",
            "Name": "84fe8350fa5a9b5f7b0bb30dc6ce7be6864f357810f4355e2694b068e3a2fe8b",
            "Options": [
                "nodev",
                "exec",
                "nosuid",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/84fe8350fa5a9b5f7b0bb30dc6ce7be6864f357810f4355e2694b068e3a2fe8b/_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": [
                    "a6831257e00f"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "10.89.0.1",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "10.89.0.87",
                "IPPrefixLen": 24,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "1a:9b:1f:52:fa:4c",
                "NetworkID": "okdcluster-service-bridge"
            }
        },
        "Ports": {},
        "SandboxID": "",
        "SandboxKey": "/run/netns/netns-0918460f-16a3-ac53-6f26-8ab513b64e49"
    },
    "OCIRuntime": "crun",
    "Path": "/run/podman-init",
    "PidFile": "/run/containers/storage/overlay-containers/6bc830d2013bfb1a00ce26d63298ee79eea2799303d60125c8d463d7032c9227/userdata/pidfile",
    "Pod": "cedba9d424354e6be254fcbec2baeef2984219e38f89e10e3881084dbcf92643",
    "ProcessLabel": "system_u:system_r:container_t:s0:c492,c622",
    "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/6bc830d2013bfb1a00ce26d63298ee79eea2799303d60125c8d463d7032c9227/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 18:08:16 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/6bc830d2013bfb1a00ce26d63298ee79eea2799303d60125c8d463d7032c9227/userdata/conmon.pid\nType=forking\n\n[Install]\nWantedBy=default.target\n"
}
stderr

stderr_lines
[]
stdout
6bc830d2013bfb1a00ce26d63298ee79eea2799303d60125c8d463d7032c9227
stdout_lines
[
    "6bc830d2013bfb1a00ce26d63298ee79eea2799303d60125c8d463d7032c9227"
]