Select Git revision
site.yml

Thomas Schneider authored
This way, it can be easily included by other roles in order to provide Caddy configuration.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
site.yml 340 B
---
- name: Configure Caddy site drop-in {{ site_name }}
ansible.builtin.template:
src: site.j2
dest: /etc/caddy/sites-available/{{ site_name | urlencode }}
validate: caddy validate --adapter caddyfile --config %s
owner: root
group: root
mode: "0644"
notify:
- Reload Caddy
tags:
- caddy
- config