mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-08-30 13:46:48 +02:00
Fix legacy config (2)
This commit is contained in:
parent
982fb1cab3
commit
d26654f341
@ -18,10 +18,10 @@ 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 }}
|
||||
{% endfor %}
|
||||
{% elif borg_repository is defined and borg_repository is string %}
|
||||
- {{ borg_repository }}
|
||||
- path: {{ borg_repository }}
|
||||
{% endif %}
|
||||
|
||||
# Store atime into archive.
|
||||
@ -52,7 +52,8 @@ exclude_from:
|
||||
exclude_caches: true
|
||||
|
||||
# Exclude directories that contain a file with the given filename.
|
||||
exclude_if_present: .nobackup
|
||||
exclude_if_present:
|
||||
- .nobackup
|
||||
|
||||
# Alternate Borg remote executable. Defaults to "borg".
|
||||
# remote_path: borg1
|
||||
|
Loading…
Reference in New Issue
Block a user