updated dokuwiki state

This commit is contained in:
Paul 2022-06-28 23:20:38 +02:00
parent a8279f5fef
commit 47961289e3

View File

@ -1,5 +1,5 @@
{%- from "dokuwiki/map.jinja" import dokuwiki with context %} {%- from "dokuwiki/map.jinja" import dokuwiki with context %}
{%- from "dokuwiki/map.jinja" import users with context %} {%- from "dokuwiki/map.jinja" import users with context %}
{%- for user in users %} {%- for name,user in users.items() %}
{{ user.name }}:{{ salt['shadow.gen_password'](password=user.password) }}:{{ user.fullname }}:{{ user.email|default("unknown@example.com") }}:{{ ([user.gid] + user.optional_groups)|join(",") }} {{ name }}:{{ salt['shadow.gen_password'](password=user.password) }}:{{ user.fullname }}:{{ user.email|default("unknown@example.com") }}:{{ ([user.gid] + user.optional_groups)|join(",") }}
{%- endfor %} {%- endfor %}