diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index 9cd692b..21b6596 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -177,6 +177,6 @@ consistency: # prevent potential shell injection or privilege escalation. hooks: {% for hook in borgmatic_hooks %} -{{ hook }}: + {{ hook }}: {{ borgmatic_hooks[hook] | to_nice_yaml(indent=4) | indent(4, first=true) }} {% endfor %}