From ed8fe0d345321500b559bdb8e72cf38a85da0669 Mon Sep 17 00:00:00 2001 From: Manu <3916435+m3nu@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:32:39 +0000 Subject: [PATCH] Indent hook name (#159) --- molecule/default/molecule.yml | 4 ++-- templates/config.yaml.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 1be7379..5469447 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -8,8 +8,8 @@ platforms: image: archlinux:latest - name: almalinux-9 image: almalinux:9 - - name: fedora-latest - image: fedora:latest + # - name: fedora-latest + # image: fedora:latest - name: debian-bookworm image: debian:bookworm - name: ubuntu-latest 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 %}