ansible/privfrontends/caddy-update.yaml

15 lines
496 B
YAML
Raw Normal View History

---
- name: Setup Caddy
2023-09-14 14:42:16 +05:30
hosts: privfrontends
vars_files:
- ./blocked-ranges.yaml
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"