diff --git a/roles/borgbackup_client/templates/config.yaml.j2 b/roles/borgbackup_client/templates/config.yaml.j2 index 0be06ac..c152168 100644 --- a/roles/borgbackup_client/templates/config.yaml.j2 +++ b/roles/borgbackup_client/templates/config.yaml.j2 @@ -5,6 +5,10 @@ location: source_directories: {% for source in borg_backup_directories %} - {{ source }} +{% endfor %} + exclude_patterns: +{% for exclude in borg_backup_exclude %} + - {{ exclude }} {% endfor %} repositories: - {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }}