traefik
Deploy the Traefik reverse proxy as a Podman quadlet.
Usage
- hosts: all roles: - role: giftpilz0.container.traefikVariables
- podman_userstr
System user for rootless podman operations.
Default{{ ansible_user }} Image name without tag.
Defaultdocker.io/library/traefikContainer image version.
Defaultv3.7.16Enable podman auto-update for this container.
DefaulttrueCreate and manage the podman network.
DefaulttruePodman network name.
Defaulttraefik-internalPodman network driver.
Defaultbridge- traefik_networkslist[str]
Additional podman networks to join (by role name).
Default[] Host IP to bind exposed ports to.
Default{{ ansible_facts['default_ipv4']['address'] }}Enable ACME/Let's Encrypt certificates.
DefaulttrueACME account email.
Default""ACME CA server URL.
Defaulthttps://acme-v02.api.letsencrypt.org/directoryACME challenge type (dns, http, or tls).
DefaulthttpDNS provider for DNS challenge.
Defaultcloudflare- traefik_acme_dns_resolverslist[str]
Custom DNS resolvers for DNS challenge.
Default[] Enable external account binding for ACME.
DefaultfalseACME EAB key ID.
Default""ACME EAB HMAC key.
Default""Internal HTTP entrypoint port.
Default80Internal HTTPS entrypoint port.
Default443Redirect HTTP to HTTPS.
DefaulttrueEnable HTTP/3 (QUIC).
DefaulttrueHTTP/3 advertised port.
Default443- traefik_tcp_entrypointslist[dict]
TCP entrypoint definitions.
Default[] Traefik log level.
DefaultWARNTraefik log format.
DefaultjsonAccess log format.
DefaultjsonAccess log channel buffer size.
Default10Enable Prometheus metrics endpoint.
DefaulttruePrometheus metrics port inside the container.
Default8082Bind IP for metrics endpoint.
Default127.0.0.1Port of the ping endpoint used by the health check, bound to 127.0.0.1.
Default8081Enable custom transport timeouts.
DefaultfalseTransport read timeout (e.g. 12h).
Default12hTransport write timeout (e.g. 12h).
Default12hTransport idle timeout (e.g. 3m).
Default3m- traefik_pluginsdict
Experimental Traefik plugin definitions keyed by plugin name.
Default{} Redirect middleware definitions (path/regex-based).
Default{}Custom traefik middleware definitions.
Default{}- traefik_http_serviceslist[dict]
HTTP service/router definitions.
Default[] Values for keys missing in traefik_http_services entries.
Defaultentrypoints: - websecure middlewares: [] tls_enabled: false acme_enabled: '{{ traefik_acme_enabled }}' large_downloads: false insecure_skip_verify: false- traefik_tcp_serviceslist[dict]
TCP service/router definitions.
Default[] Values for keys missing in traefik_tcp_services entries.
Defaulttls_enabled: false acme_enabled: false tls_passthrough: false
Extra environment variables for the container.
Default{}Optional container entrypoint override.
Default""- traefik_extra_fileslist[dict]
Arbitrary file entries with src (controller path) or source (target path), dest, optional mount, mode, and template.
Default[] - traefik_extra_dirslist[dict]
Arbitrary directory entries with src (controller directory) or source (target path), dest, optional mount and mode.
Default[]
No variables match.