Don't inject facts as vars

This commit is contained in:
2020-06-27 15:56:55 +02:00
parent bce3dc670b
commit 38b3239854
18 changed files with 73 additions and 72 deletions
+3 -3
View File
@@ -3,14 +3,14 @@ hosts = 0.0.0.0:8080
[auth]
type = htpasswd
htpasswd_filename = {{ ansible_env.HOME }}/radicale/users
htpasswd_filename = {{ ansible_facts.env.HOME }}/radicale/users
htpasswd_encryption = bcrypt
realm = bstl DAV - Password Required
[rights]
type = from_file
file = {{ ansible_env.HOME }}/radicale/rights
file = {{ ansible_facts.env.HOME }}/radicale/rights
[storage]
filesystem_folder = {{ ansible_env.HOME }}/radicale/storage
filesystem_folder = {{ ansible_facts.env.HOME }}/radicale/storage
hook = git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
+1 -1
View File
@@ -1,4 +1,4 @@
[program:radicale]
command={{ ansible_env.HOME }}/.local/bin/radicale --config {{ ansible_env.HOME }}/radicale/config
command={{ ansible_facts.env.HOME }}/.local/bin/radicale --config {{ ansible_facts.env.HOME }}/radicale/config
autostart=yes
autorestart=yes