diff options
author | Aaron LI <aly@aaronly.me> | 2018-04-09 15:03:39 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-04-09 15:34:58 +0800 |
commit | 67dd56ab0d520abf01cdbdbe10b68f6289b6ecc7 (patch) | |
tree | 3bebd25c1265c0b6d5fe3f22cad7b70d503180f9 /roles/radicale/templates/radicale.passwd.j2 | |
parent | 40f44a1f486116b8fcae7e307ec1bd82fe433bc6 (diff) | |
download | ansible-dfly-vps-67dd56ab0d520abf01cdbdbe10b68f6289b6ecc7.tar.bz2 |
Add radicale role: lightweight {Card,Cal}DAV server
WARNING: py36-radicale2 needs manual installation at the moment.
Diffstat (limited to 'roles/radicale/templates/radicale.passwd.j2')
-rw-r--r-- | roles/radicale/templates/radicale.passwd.j2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/radicale/templates/radicale.passwd.j2 b/roles/radicale/templates/radicale.passwd.j2 new file mode 100644 index 0000000..8c59c79 --- /dev/null +++ b/roles/radicale/templates/radicale.passwd.j2 @@ -0,0 +1,15 @@ +# +# Password for Nginx auth for Radicale. +# +# Aaron LI +# + +# name:pass +{% for user in radicale.users %} +# user: {{ user.name }} +{{ user.name }}:{{ user.pass | cryptpass }} +{% for dev in user.devices|default([]) %} +{{ user.name }}@{{ dev.name }}:{{ dev.pass | cryptpass }} +{% endfor %}{# devices #} +{% endfor %}{# user #} +# EOF |