mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-09-03 17:53:20 +02:00
fix for undefined databases
This commit is contained in:
parent
e334994e19
commit
60115dd0b7
@ -181,7 +181,9 @@ commands:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Databases specific backup
|
# Databases specific backup
|
||||||
|
{% if borgmatic_databases is defined %}
|
||||||
{% for database in borgmatic_databases %}
|
{% for database in borgmatic_databases %}
|
||||||
{{ database }}_databases:
|
{{ database }}_databases:
|
||||||
{{ borgmatic_databases[database] | to_nice_yaml(indent=4) | indent(4, first=true) }}
|
{{ borgmatic_databases[database] | to_nice_yaml(indent=4) | indent(4, first=true) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user