ansible/roles/borgbackup_client/templates/config.yaml.j2
Otthorn 4642395330
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
[borgbackup_client] Add initial role defintion
2021-03-11 23:29:57 +01:00

25 lines
494 B
Django/Jinja

---
{{ ansible_managed | comment }}
location:
source_directories: {{ borg_backup_directories | to_nice_yaml }}
repositories:
- {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }}
retention:
keep_daily: "{{ borg_keep_daily }}"
keep_weekly: "{{ borg_keep_weekly }}"
keep_monthly: "{{ borg_keep_yearly }}"
consistency:
checks:
- repository
- archives
{% if postgresql_databases is defined %}
hooks:
postgresql_databases:
- name: all
{% endif %}
...