mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-07-19 13:48:43 +02:00
fix: use path as key for repositories config
This commit is contained in:
parent
b12f97a11f
commit
7f472cd4bd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user