galaxy-caddy.reverse/tasks/main.yml

16 lines
324 B
YAML
Raw Normal View History

2019-02-01 15:11:31 +00:00
---
# 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