ansible-roles/roles/nas/templates/rsync.secrets.j2
2022-10-19 17:00:09 +02:00

7 lines
273 B
Django/Jinja

{% if item.protocols.rsync.enabled and item.protocols.rsync.users is defined and item.protocols.rsync.users.keys() | list | length > 0 %}
{% for user in item.protocols.rsync.users.keys() | list %}
{{ user }}:{{ item.protocols.rsync.users[user] }}
{% endfor %}
{% endif %}