2023-07-09 14:21:35 +05:30
|
|
|
---
|
|
|
|
- name: Setup Caddy
|
2023-08-14 21:58:25 +05:30
|
|
|
hosts: core,privfrontends
|
2023-07-09 14:21:35 +05:30
|
|
|
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"
|