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: 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.