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 00:32:06 +0000 00:19:18.13 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 7 887 887 53 1

Task result details

Field Value
actions
[
    "created k8scluster-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": "544311e9bea743fd44874ea5c4d85a77b613d2c65ccc60a902fc4010a451ef89",
            "io.podman.annotations.init": "TRUE"
        },
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/etc/docker/registry/config.yml"
        ],
        "CreateCommand": [
            "podman",
            "container",
            "create",
            "--name",
            "k8scluster-registry",
            "--pod",
            "k8scluster-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",
            "k8scluster-data:/var/kubeinit",
            "kubeinit/k8scluster-registry:latest"
        ],
        "Domainname": "",
        "Entrypoint": "/entrypoint.sh",
        "Env": [
            "REGISTRY_AUTH_HTPASSWD_REALM=Registry",
            "REGISTRY_HTTP_TLS_KEY=certs/domain.key",
            "container=podman",
            "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",
            "TERM=xterm"
        ],
        "HealthcheckOnFailureAction": "none",
        "Hostname": "service.k8scluster.kubeinit.local",
        "Image": "localhost/kubeinit/k8scluster-registry:latest",
        "Labels": {
            "io.buildah.version": "1.31.0",
            "kubeinit-cluster-name": "k8scluster"
        },
        "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/15cc31db3be0915822339872bee08ef5a94c5277af57ef45048f5e7f1cc93c2d/userdata/conmon.pid",
    "Created": "2023-10-29T02:38:22.532638449+02:00",
    "Dependencies": [
        "544311e9bea743fd44874ea5c4d85a77b613d2c65ccc60a902fc4010a451ef89"
    ],
    "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/f5dfa3eefd90809332eb4fcb91a94b2d0da0657d8bdb53b7a5f6806b5ce39530/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/06fba4fbcebeaa6530e4a54aee238a22647c54c6ec9fe2e6a67adf730f9392c5/diff",
            "WorkDir": "/var/lib/containers/storage/overlay/06fba4fbcebeaa6530e4a54aee238a22647c54c6ec9fe2e6a67adf730f9392c5/work"
        },
        "Name": "overlay"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "25306f819995d1cf7f3b1abaa5849a8c6e8f6b44e6c30d0a39aef4e62e2a5914:/var/lib/registry:rprivate,rw,nodev,exec,nosuid,rbind",
            "k8scluster-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_37018a6367e442593f0fdb23e95be3ecc628b097ef10e91b8cf18e4b00d11084.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:544311e9bea743fd44874ea5c4d85a77b613d2c65ccc60a902fc4010a451ef89",
        "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:544311e9bea743fd44874ea5c4d85a77b613d2c65ccc60a902fc4010a451ef89",
        "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:544311e9bea743fd44874ea5c4d85a77b613d2c65ccc60a902fc4010a451ef89",
        "Ulimits": [
            {
                "Hard": 1048576,
                "Name": "RLIMIT_NOFILE",
                "Soft": 1048576
            },
            {
                "Hard": 4194304,
                "Name": "RLIMIT_NPROC",
                "Soft": 4194304
            }
        ],
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "",
    "HostsPath": "",
    "Id": "15cc31db3be0915822339872bee08ef5a94c5277af57ef45048f5e7f1cc93c2d",
    "Image": "fc04c61558042eed9cc828a10a7dc892946e1ae634a90db1a1450c1af36a5543",
    "ImageDigest": "sha256:4c2755f9febe8c88b3952d8be5536801ca440af38d9593bccf8fcf6ffce201df",
    "ImageName": "localhost/kubeinit/k8scluster-registry:latest",
    "IsInfra": false,
    "IsService": false,
    "MountLabel": "system_u:object_r:container_file_t:s0:c1,c529",
    "Mounts": [
        {
            "Destination": "/var/lib/registry",
            "Driver": "local",
            "Mode": "",
            "Name": "25306f819995d1cf7f3b1abaa5849a8c6e8f6b44e6c30d0a39aef4e62e2a5914",
            "Options": [
                "nodev",
                "exec",
                "nosuid",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/25306f819995d1cf7f3b1abaa5849a8c6e8f6b44e6c30d0a39aef4e62e2a5914/_data",
            "Type": "volume"
        },
        {
            "Destination": "/var/kubeinit",
            "Driver": "local",
            "Mode": "",
            "Name": "k8scluster-data",
            "Options": [
                "nosuid",
                "nodev",
                "rbind"
            ],
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/var/lib/containers/storage/volumes/k8scluster-data/_data",
            "Type": "volume"
        }
    ],
    "Name": "k8scluster-registry",
    "Namespace": "",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "k8scluster-service-bridge": {
                "Aliases": [
                    "544311e9bea7"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "10.89.0.1",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "10.89.0.88",
                "IPPrefixLen": 24,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "be:06:7d:3b:60:36",
                "NetworkID": "k8scluster-service-bridge"
            }
        },
        "Ports": {},
        "SandboxID": "",
        "SandboxKey": "/run/netns/netns-7d5b14a0-1968-add3-15e4-447b72ec62a0"
    },
    "OCIRuntime": "crun",
    "Path": "/run/podman-init",
    "PidFile": "/run/containers/storage/overlay-containers/15cc31db3be0915822339872bee08ef5a94c5277af57ef45048f5e7f1cc93c2d/userdata/pidfile",
    "Pod": "37018a6367e442593f0fdb23e95be3ecc628b097ef10e91b8cf18e4b00d11084",
    "ProcessLabel": "system_u:system_r:container_t:s0:c1,c529",
    "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/15cc31db3be0915822339872bee08ef5a94c5277af57ef45048f5e7f1cc93c2d/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/k8scluster-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": "k8scluster-registry",
        "network": null,
        "network_aliases": null,
        "no_hosts": null,
        "oom_kill_disable": null,
        "oom_score_adj": null,
        "pid": null,
        "pids_limit": null,
        "pod": "k8scluster-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": [
            "k8scluster-data:/var/kubeinit"
        ],
        "volumes": [
            "k8scluster-data:/var/kubeinit"
        ],
        "volumes_from": null,
        "workdir": null
    }
}
podman_actions
[
    "podman create --name k8scluster-registry --pod k8scluster-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 k8scluster-data:/var/kubeinit kubeinit/k8scluster-registry:latest"
]
podman_systemd
{
    "container-k8scluster-registry": "# container-k8scluster-registry.service\n# autogenerated by Podman 4.5.1\n# Sun Oct 29 02:38:22 IST 2023\n\n[Unit]\nDescription=Podman container-k8scluster-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 k8scluster-registry\nExecStop=/usr/bin/podman stop  \\\n\t-t 10 k8scluster-registry\nExecStopPost=/usr/bin/podman stop  \\\n\t-t 10 k8scluster-registry\nPIDFile=/run/containers/storage/overlay-containers/15cc31db3be0915822339872bee08ef5a94c5277af57ef45048f5e7f1cc93c2d/userdata/conmon.pid\nType=forking\n\n[Install]\nWantedBy=default.target\n"
}
stderr

stderr_lines
[]
stdout
15cc31db3be0915822339872bee08ef5a94c5277af57ef45048f5e7f1cc93c2d
stdout_lines
[
    "15cc31db3be0915822339872bee08ef5a94c5277af57ef45048f5e7f1cc93c2d"
]