Change caddy vars
This commit is contained in:
parent
6e23aa51b2
commit
a7ff5e06ad
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue