galaxy-caddy.reverse/tasks/main.yml
2019-02-01 16:11:31 +01:00

16 lines
No EOL
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