ansible-personal/roles/caddy/tasks/vhosts.yml

15 lines
287 B
YAML
Raw Normal View History

2022-11-02 20:29:30 +01:00
---
- name: Configure vhosts
ansible.builtin.template:
src: etc/caddy/conf.d/vhost.j2
dest: /etc/caddy/conf.d/{{ item.domain_name }}
2023-08-23 21:22:51 +02:00
mode: "0644"
2022-11-02 20:29:30 +01:00
owner: root
group: root
loop: "{{ nginx_vhosts }}"
notify:
- reload caddy
tags: caddy
# vim: set ts=2 sw=2: