mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-09-17 17:53:06 +02:00
fix config yaml formatting
This commit is contained in:
parent
61470c98ac
commit
c7ef79ad3f
@ -42,6 +42,8 @@ borgmatic_commands:
|
||||
run:
|
||||
- echo "Something went wrong!"
|
||||
|
||||
borgmatic_databases: []
|
||||
|
||||
borgmatic_checks:
|
||||
- name: repository
|
||||
frequency: "4 weeks"
|
||||
|
@ -177,13 +177,13 @@ check_last: {{ borgmatic_check_last }}
|
||||
# Do not forget to set secure permissions on this file as well as on any script listed (chmod 0700) to
|
||||
# prevent potential shell injection or privilege escalation.
|
||||
commands:
|
||||
{{ borgmatic_commands | to_nice_yaml(indent=4) | indent(4, first=False) }}
|
||||
{{ borgmatic_commands | to_nice_yaml(indent=4) }}
|
||||
{% endif %}
|
||||
|
||||
{% if borgmatic_databases is defined %}
|
||||
# Databases specific backup
|
||||
{% for database in borgmatic_databases %}
|
||||
{{ database }}_databases:
|
||||
{{ borgmatic_databases[database] | to_nice_yaml(indent=4) | indent(4, first=true) }}
|
||||
{{ borgmatic_databases[database] | to_nice_yaml(indent=4) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user