homelab/roles/nefarious-web/tasks/main.yml

10 lines
201 B
YAML

---
- name: Ensure Caddyfile is present
template:
src: 'nefarious.Caddyfile.j2'
dest: '/etc/caddy/nefarious.Caddyfile'
owner: root
group: root
mode: '0644'
notify: caddy-reload