fix: use path as key for repositories config

This commit is contained in:
Bert-Jan Fikse 2025-06-03 17:13:55 +02:00
parent b12f97a11f
commit 7f472cd4bd
No known key found for this signature in database
GPG Key ID: 5377C1221E3B1D12

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.