Change caddy vars

This commit is contained in:
Wilfried OLLIVIER 2020-03-20 14:32:10 +01:00
parent 6e23aa51b2
commit a7ff5e06ad
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
---
# defaults file for galaxy-caddy
caddy_home: /srv/caddy
caddy_logs: /srv/caddy/logs
caddy_home: /opt/caddy
caddy_logs: /var/log/caddy
caddy_conf: /etc/caddy
caddy_confd: /etc/caddy/conf.d
caddy_www: /var/www/caddy

View file

@ -50,7 +50,7 @@
with_items:
- "{{ caddy_conf }}"
- "{{ caddy_confd }}"
- "{{ caddy_home }}/logs"
- "{{ caddy_logs }}"
- "{{ caddy_www }}"
- name: Caddyfile
@ -74,7 +74,7 @@
dest={{ caddy_www }}/test/index.html
- name: Create Test page logs dir
file: path={{ caddy_home }}/logs/test
file: path={{ caddy_logs }}/test
state=directory
owner=caddy