Files
playbooks/caddy/vars/default.yml
T
tanshu 476a6d7cd0 Cut the comment bloat from the Podman playbooks
Comment blocks now stay within three lines and explain only the non-obvious. Long histories, include examples, and commented-out code are gone. No task, key, or value changed; the only data change is comment text inside the generated unit files.
2026-10-18 22:10:57 +05:30

28 lines
815 B
YAML

---
# Set gather_facts: true, because these values come from ansible_facts.
podman_user: "{{ ansible_facts['user_id'] }}"
podman_data_dir: "{{ ansible_facts['user_dir'] }}/podman-data"
quadlet_dir: "{{ ansible_facts['user_dir'] }}/.config/containers/systemd"
# Caddy publishes 80/443, which needs the unprivileged port floor lowered.
podman_unprivileged_port_start: 80
caddy_name: caddy
caddy_unit: "{{ caddy_name }}.service"
# Fully qualified, because short names prompt for a registry and the unit has
# no TTY.
caddy_image: docker.io/library/caddy:latest
host_directory: "{{ podman_data_dir }}/caddy"
caddyfile_path: "{{ host_directory }}/conf/Caddyfile"
caddy_dropin_dir: "{{ quadlet_dir }}/{{ caddy_name }}.container.d"
# 443/udp carries HTTP/3.
caddy_ports:
- "80:80"
- "443:443"
- "443:443/udp"