ansible-roles/roles/nas/templates/rsync.secrets.j2

7 lines
273 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
{% 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 %}