Bootstrap caddy reverse role
This commit is contained in:
commit
b3169c0fcf
9 changed files with 150 additions and 0 deletions
16
tasks/main.yml
Normal file
16
tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue