ansible/privfrontends/caddy-update.yaml
2023-09-14 14:50:14 +05:30

13 lines
454 B
YAML

---
- name: Setup Caddy
hosts: privfrontends
roles:
- role: caddy-ansible
caddy_systemd_capabilities_enabled: true
caddy_config: "{{ lookup('template', './templates/Caddyfile.j2') }}"
caddy_user: "caddy"
caddy_home: "/var/lib/caddy"
caddy_packages: ["github.com/caddy-dns/rfc2136@master"]
# Static weekly builds of caddy with rfc2136 dns plugin
caddy_url_base: "https://cb.projectsegfau.lt/api/download"