[borgbackup_client] fix rentention date to int and list correctly source directories

This commit is contained in:
otthorn 2021-03-14 18:24:36 +01:00
parent ff750c5b63
commit 46d10022ea

View file

@ -2,7 +2,10 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
location: location:
source_directories: {{ borg_backup_directories | to_nice_yaml }} source_directories:
{% for source in borg_backup_directories %}
- {{ source }}
{% endfor %}
repositories: repositories:
- {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }} - {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }}
@ -16,9 +19,9 @@ storage:
retention: retention:
keep_daily: "{{ borg_keep_daily }}" keep_daily: {{ borg_keep_daily }}
keep_weekly: "{{ borg_keep_weekly }}" keep_weekly: {{ borg_keep_weekly }}
keep_monthly: "{{ borg_keep_monthly }}" keep_monthly: {{ borg_keep_monthly }}
consistency: consistency:
checks: checks: