16 lines
286 B
YAML
16 lines
286 B
YAML
---
|
|
|
|
- name: Configure vhosts
|
|
ansible.builtin.template:
|
|
src: etc/caddy/conf.d/vhost.j2
|
|
dest: /etc/caddy/conf.d/{{ item.domain_name }}
|
|
mode: 0644
|
|
owner: root
|
|
group: root
|
|
loop: "{{ nginx_vhosts }}"
|
|
notify:
|
|
- reload caddy
|
|
tags: caddy
|
|
|
|
# vim: set ts=2 sw=2:
|