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: repositories:
{% if borg_repository is iterable and (borg_repository is not string and borg_repository is not mapping) %} {% if borg_repository is iterable and (borg_repository is not string and borg_repository is not mapping) %}
{% for repo in borg_repository %} {% for repo in borg_repository %}
- {{ repo }} - path: {{ repo }}
{% endfor %} {% endfor %}
{% elif borg_repository is defined and borg_repository is string %} {% elif borg_repository is defined and borg_repository is string %}
- {{ borg_repository }} - path: {{ borg_repository }}
{% endif %} {% endif %}
# Store atime into archive. # Store atime into archive.