galaxy-caddy.reverse/tasks/main.yml

17 lines
325 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
2019-02-15 12:42:57 +00:00
dest: "{{ caddy_confd }}/{{ vhost_name }}.caddy"
2019-02-01 15:11:31 +00:00
owner: caddy
notify: restart caddy
- name: Ensure log dir
file:
path: "{{ caddy_logs }}/{{ vhost_name }}"
state: directory
owner: caddy