16 lines
324 B
YAML
16 lines
324 B
YAML
|
---
|
||
|
# tasks file for galaxy-caddy.reverse
|
||
|
|
||
|
- name: Push caddy template file
|
||
|
template:
|
||
|
src: reverse.caddy.j2
|
||
|
dest: "{{ caddy.confd }}/{{ vhost_name }}.caddy"
|
||
|
owner: caddy
|
||
|
notify: restart caddy
|
||
|
|
||
|
|
||
|
- name: Ensure log dir
|
||
|
file:
|
||
|
path: "{{ caddy_logs }}/{{ vhost_name }}"
|
||
|
state: directory
|
||
|
owner: caddy
|