2020-07-30 14:06:36 +02:00
|
|
|
{%- from "dokuwiki/map.jinja" import dokuwiki with context %}
|
|
|
|
{%- from "dokuwiki/map.jinja" import users with context %}
|
2022-06-28 23:20:38 +02:00
|
|
|
{%- for name,user in users.items() %}
|
|
|
|
{{ name }}:{{ salt['shadow.gen_password'](password=user.password) }}:{{ user.fullname }}:{{ user.email|default("unknown@example.com") }}:{{ ([user.gid] + user.optional_groups)|join(",") }}
|
2020-07-30 14:06:36 +02:00
|
|
|
{%- endfor %}
|