From 50c220ef196025dacd4b1cdd4648c304c1cac238 Mon Sep 17 00:00:00 2001 From: Manu Date: Fri, 25 Oct 2024 16:09:38 +0100 Subject: [PATCH] fix borgmatic_hooks intent --- templates/config.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index 068bf32..9cd692b 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 }}: - {{ borgmatic_hooks[hook] | to_nice_yaml(indent=2) | trim | indent(8) }} +{{ hook }}: +{{ borgmatic_hooks[hook] | to_nice_yaml(indent=4) | indent(4, first=true) }} {% endfor %}