fix: use path as key for repositories config

This commit is contained in:
Bert-Jan Fikse 2025-06-03 17:13:55 +02:00 committed by Manu
parent 9ab81e461e
commit e3397c62f7

View File

@ -19,10 +19,10 @@ location:
repositories:
{% if borg_repository is iterable and (borg_repository is not string and borg_repository is not mapping) %}
{% for repo in borg_repository %}
- {{ repo }}
- path: {{ repo }}
{% endfor %}
{% elif borg_repository is defined and borg_repository is string %}
- {{ borg_repository }}
- path: {{ borg_repository }}
{% endif %}
# Store atime into archive.