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
|
# defaults file for galaxy-caddy
|
||||||
|
|
||||||
caddy_home: /srv/caddy
|
caddy_home: /opt/caddy
|
||||||
caddy_logs: /srv/caddy/logs
|
caddy_logs: /var/log/caddy
|
||||||
caddy_conf: /etc/caddy
|
caddy_conf: /etc/caddy
|
||||||
caddy_confd: /etc/caddy/conf.d
|
caddy_confd: /etc/caddy/conf.d
|
||||||
caddy_www: /var/www/caddy
|
caddy_www: /var/www/caddy
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ caddy_conf }}"
|
- "{{ caddy_conf }}"
|
||||||
- "{{ caddy_confd }}"
|
- "{{ caddy_confd }}"
|
||||||
- "{{ caddy_home }}/logs"
|
- "{{ caddy_logs }}"
|
||||||
- "{{ caddy_www }}"
|
- "{{ caddy_www }}"
|
||||||
|
|
||||||
- name: Caddyfile
|
- name: Caddyfile
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
dest={{ caddy_www }}/test/index.html
|
dest={{ caddy_www }}/test/index.html
|
||||||
|
|
||||||
- name: Create Test page logs dir
|
- name: Create Test page logs dir
|
||||||
file: path={{ caddy_home }}/logs/test
|
file: path={{ caddy_logs }}/test
|
||||||
state=directory
|
state=directory
|
||||||
owner=caddy
|
owner=caddy
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue