[borgbackup_client] fix rentention date to int and list correctly source directories
This commit is contained in:
parent
ff750c5b63
commit
46d10022ea
1 changed files with 7 additions and 4 deletions
|
@ -2,7 +2,10 @@
|
|||
{{ ansible_managed | comment }}
|
||||
|
||||
location:
|
||||
source_directories: {{ borg_backup_directories | to_nice_yaml }}
|
||||
source_directories:
|
||||
{% for source in borg_backup_directories %}
|
||||
- {{ source }}
|
||||
{% endfor %}
|
||||
repositories:
|
||||
- {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }}
|
||||
|
||||
|
@ -16,9 +19,9 @@ storage:
|
|||
|
||||
|
||||
retention:
|
||||
keep_daily: "{{ borg_keep_daily }}"
|
||||
keep_weekly: "{{ borg_keep_weekly }}"
|
||||
keep_monthly: "{{ borg_keep_monthly }}"
|
||||
keep_daily: {{ borg_keep_daily }}
|
||||
keep_weekly: {{ borg_keep_weekly }}
|
||||
keep_monthly: {{ borg_keep_monthly }}
|
||||
|
||||
consistency:
|
||||
checks:
|
||||
|
|
Loading…
Reference in a new issue