mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-09-03 17:53:20 +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:
|
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.
|
||||||
@ -52,7 +52,8 @@ exclude_from:
|
|||||||
exclude_caches: true
|
exclude_caches: true
|
||||||
|
|
||||||
# Exclude directories that contain a file with the given filename.
|
# 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".
|
# Alternate Borg remote executable. Defaults to "borg".
|
||||||
# remote_path: borg1
|
# remote_path: borg1
|
||||||
|
Loading…
Reference in New Issue
Block a user