Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[server]
|
||||
hosts = 0.0.0.0:8080
|
||||
|
||||
[auth]
|
||||
type = htpasswd
|
||||
htpasswd_filename = {{ ansible_env.HOME }}/radicale/users
|
||||
htpasswd_encryption = bcrypt
|
||||
realm = bstl DAV - Password Required
|
||||
|
||||
[rights]
|
||||
type = from_file
|
||||
file = {{ ansible_env.HOME }}/radicale/rights
|
||||
|
||||
[storage]
|
||||
filesystem_folder = {{ ansible_env.HOME }}/radicale/storage
|
||||
hook = git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
|
||||
@@ -0,0 +1,4 @@
|
||||
[program:radicale]
|
||||
command={{ ansible_env.HOME }}/.local/bin/radicale --config {{ ansible_env.HOME }}/radicale/config
|
||||
autostart=yes
|
||||
autorestart=yes
|
||||
@@ -0,0 +1,3 @@
|
||||
{% for username, password in dav_users.items() %}
|
||||
{{ username }}:{{ password }}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user