role-caddy/tasks/install_systemd.yml

12 lines
236 B
YAML
Raw Permalink Normal View History

2022-12-10 23:36:54 +00:00
---
- name: "Setup systemd service"
ansible.builtin.template:
src: caddy.service.j2
dest: /lib/systemd/system/caddy.service
owner: root
group: root
mode: 0644
notify:
- "Reload systemd"
- "Restart caddy"