Skip to content

Theme color

misc

Deploy the Misc web application (built from a git commit) as a Podman quadlet.

Usage

playbook.yml
- hosts: all
roles:
- role: giftpilz0.container.misc

Variables

  • System user for rootless podman operations.

    Default{{ ansible_user }}
  • Image name without tag.

    Defaultlocalhost/misc-custom
  • Container image version.

    Defaultlatest
  • Git repository the misc image is built from.

    Defaulthttps://forgejo.nixpi.de/moritz/service-misc.git
  • Git commit to build from.

    Defaultdb16ab7ca40f6e1e98e6e7a3947fb9e2aa04f527
  • Dockerfile path inside the misc repository.

    Defaultdocker/docker-minimal/Dockerfile
  • Enable podman auto-update for this container.

    Defaulttrue
  • Create and manage the podman network.

    Defaulttrue
  • Podman network name.

    Defaultmisc-internal
  • Podman network driver.

    Defaultbridge
  • Expose container ports on the host.

    Defaulttrue
  • Host IP to bind exposed ports to.

    Default{{ ansible_facts['default_ipv4']['address'] }}
  • misc_port_maplist[str]

    Host:container port mappings.

    Default- 8080:8080
  • Extra environment variables injected into the container.

    Default
    TZ: Europe/Berlin
    LOGLEVEL: INFO
    PORT: 8080
  • Optional container entrypoint override.

    Default""
  • Arbitrary file entries with src (controller path) or source (target path), dest, optional mount, mode, and template.

    Default[]
  • misc_extra_dirslist[dict]

    Arbitrary directory entries with src (controller directory) or source (target path), dest, optional mount and mode.

    Default[]