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
05 May 2024 01:32:07 +0000 00:11:17.00 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 9 738 805 43 1

Task result details

Field Value
actions
[
    "created rkecluster-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": "7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
            "io.podman.annotations.init": "TRUE"
        },
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/etc/docker/registry/config.yml"
        ],
        "CreateCommand": [
            "podman",
            "container",
            "create",
            "--name",
            "rkecluster-registry",
            "--pod",
            "rkecluster-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",
            "rkecluster-data:/var/kubeinit",
            "kubeinit/rkecluster-registry:latest"
        ],
        "Domainname": "",
        "Entrypoint": "/entrypoint.sh",
        "Env": [
            "REGISTRY_AUTH_HTPASSWD_PATH=auth/htpasswd",
            "REGISTRY_HTTP_TLS_KEY=certs/domain.key",
            "REGISTRY_COMPATIBILITY_SCHEMA1_ENABLED=True",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "TERM=xterm",
            "REGISTRY_HTTP_TLS_CERTIFICATE=certs/domain.crt",
            "REGISTRY_AUTH=htpasswd",
            "REGISTRY_AUTH_HTPASSWD_REALM=Registry",
            "container=podman",
            "REGISTRY_HTTP_SECRET=ALongRandomSecretForRegistry"
        ],
        "HealthcheckOnFailureAction": "none",
        "Hostname": "service.rkecluster.kubeinit.local",
        "Image": "localhost/kubeinit/rkecluster-registry:latest",
        "Labels": {
            "io.buildah.version": "1.31.0",
            "kubeinit-cluster-name": "rkecluster"
        },
        "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/94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9/userdata/conmon.pid",
    "Created": "2024-05-05T04:39:34.551122082+03:00",
    "Dependencies": [
        "7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87"
    ],
    "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/83a275ff7d0fea2b6478fdefb5568c2a6176d1316eb4d1fa17649d62ec80e67e/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/8a9db923481e0ddb4dfaf4485f5e166d0b974b0089decc68e9ddc9bbd303fbd3/diff",
            "WorkDir": "/var/lib/containers/storage/overlay/8a9db923481e0ddb4dfaf4485f5e166d0b974b0089decc68e9ddc9bbd303fbd3/work"
        },
        "Name": "overlay"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "6b5bb4e61530985d80ec7acb82883a917af60e0e8d904a5dd71ea9c3796eb281:/var/lib/registry:rprivate,rw,nodev,exec,nosuid,rbind",
            "rkecluster-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_90ece6ee0179abb27b350bd86dd1020855f765a1daced3f09428d73f76f90214.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:7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
        "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:7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
        "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:7131e364a27251cc5e0eddd7b52930f8ba93a87ae163c1a4b10a1021724e4e87",
        "Ulimits": [
            {
                "Hard": 1048576,
                "Name": "RLIMIT_NOFILE",
                "Soft": 1048576
            },
            {
                "Hard": 4194304,
                "Name": "RLIMIT_NPROC",
                "Soft": 4194304
            }
        ],
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "",
    "HostsPath": "",
    "Id": "94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9",
    "Image": "58934df12f142796412da916c8b62a98f9a68e2cb26546f7e15cbc2edcfc6eb2",
    "ImageDigest": "sha256:d54c3e692fe4ae0f2018200df76b3043c254a740b13a2871239b3baba913af23",
    "ImageName": "localhost/kubeinit/rkecluster-registry:latest",
    "IsInfra": false,
    "IsService": false,
    "MountLabel": "system_u:object_r:container_file_t:s0:c503,c759",
    "Mounts": [
        {
            "Destination": "/var/lib/registry",
            "Driver": "local",
            "Mode": "",
            "Name": "6b5bb4e61530985d80ec7acb82883a917af60e0e8d904a5dd71ea9c3796eb281",
            "Options": [
                "nodev",
                "exec",
                "nosuid",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/6b5bb4e61530985d80ec7acb82883a917af60e0e8d904a5dd71ea9c3796eb281/_data",
            "Type": "volume"
        },
        {
            "Destination": "/var/kubeinit",
            "Driver": "local",
            "Mode": "",
            "Name": "rkecluster-data",
            "Options": [
                "nosuid",
                "nodev",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/rkecluster-data/_data",
            "Type": "volume"
        }
    ],
    "Name": "rkecluster-registry",
    "Namespace": "",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "rkecluster-service-bridge": {
                "Aliases": [
                    "7131e364a272"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "10.89.0.1",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "10.89.0.65",
                "IPPrefixLen": 24,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "d6:67:55:fe:8f:cb",
                "NetworkID": "rkecluster-service-bridge"
            }
        },
        "Ports": {},
        "SandboxID": "",
        "SandboxKey": "/run/netns/netns-158eca83-163d-b219-f939-35b82228e156"
    },
    "OCIRuntime": "crun",
    "Path": "/run/podman-init",
    "PidFile": "/run/containers/storage/overlay-containers/94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9/userdata/pidfile",
    "Pod": "90ece6ee0179abb27b350bd86dd1020855f765a1daced3f09428d73f76f90214",
    "ProcessLabel": "system_u:system_r:container_t:s0:c503,c759",
    "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/94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9/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/rkecluster-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": "rkecluster-registry",
        "network": null,
        "network_aliases": null,
        "no_hosts": null,
        "oom_kill_disable": null,
        "oom_score_adj": null,
        "pid": null,
        "pids_limit": null,
        "pod": "rkecluster-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": [
            "rkecluster-data:/var/kubeinit"
        ],
        "volumes": [
            "rkecluster-data:/var/kubeinit"
        ],
        "volumes_from": null,
        "workdir": null
    }
}
podman_actions
[
    "podman create --name rkecluster-registry --pod rkecluster-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 rkecluster-data:/var/kubeinit kubeinit/rkecluster-registry:latest"
]
podman_systemd
{
    "container-rkecluster-registry": "# container-rkecluster-registry.service\n# autogenerated by Podman 4.5.1\n# Sun May  5 04:39:34 IDT 2024\n\n[Unit]\nDescription=Podman container-rkecluster-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 rkecluster-registry\nExecStop=/usr/bin/podman stop  \\\n\t-t 10 rkecluster-registry\nExecStopPost=/usr/bin/podman stop  \\\n\t-t 10 rkecluster-registry\nPIDFile=/run/containers/storage/overlay-containers/94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9/userdata/conmon.pid\nType=forking\n\n[Install]\nWantedBy=default.target\n"
}
stderr

stderr_lines
[]
stdout
94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9
stdout_lines
[
    "94a8d86772397645349026a57c57e8d5f3580d4e31a021cbd11cbc9d5c4fddc9"
]