Add bash completion and labels to repositories

This commit is contained in:
phil 2023-04-09 09:25:16 +02:00
parent 72555d15c4
commit f4d6366253
2 changed files with 8 additions and 6 deletions

View file

@ -17,13 +17,10 @@ location:
# Stay in same file system (do not cross mount points).
one_file_system: {{ borg_one_file_system }}
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.path }}
label: {{ repo.label }}
{% endfor %}
{% elif borg_repository is defined and borg_repository is string %}
- {{ borg_repository }}
{% endif %}
# Store atime into archive.
atime: {{ borgmatic_store_atime }}