diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index cfaf2e1..52162e6 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -17,12 +17,12 @@ location: # Stay in same file system (do not cross mount points). one_file_system: {{ borg_one_file_system }} repositories: -{% if borgbase is define and borgbase %} - - ssh://{{ borgbase_repo.repo_id }}@{{ borgbackup_ssh_host }}/./repo" +{% if borgbase is defined and borgbase %} + - ssh://{{ borgbase_repo.repo_id }}@{{ borgbackup_ssh_host }}/./repo {% else %} - {% for repo in borg_repository %} +{% for repo in borg_repository %} - {{ repo.path }} - {% endfor %} +{% endfor %} {% endif %} # Store atime into archive.