2022-11-02 22:29:30 +03: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 22:22:51 +03:00
|
|
|
mode: "0644"
|
2022-11-02 22:29:30 +03:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
loop: "{{ nginx_vhosts }}"
|
|
|
|
notify:
|
|
|
|
- reload caddy
|
|
|
|
tags: caddy
|
|
|
|
|
|
|
|
# vim: set ts=2 sw=2:
|