Skip to content

Commit

Permalink
fix borgmatic_hooks indention (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu authored Oct 25, 2024
1 parent 2f4966f commit efa8e5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
4 changes: 2 additions & 2 deletions vars/Fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ borg_pip_packages:
- openssl-devel
- openssl-devel
- python3-cython
- python3-devel
# - python3-devel
- python3-pip
- python3-setuptools
- python3-wheel
- xxhash
- xxhash-devel

borg_distro_packages:
- borgbackup
- borgmatic
Expand Down
2 changes: 1 addition & 1 deletion vars/RedHat-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ borg_pip_packages:
- libzstd-devel
- lz4-devel
- openssl-devel
- python3-devel
# - python3-devel
- python3-pip
- python3-setuptools
- xxhash
Expand Down

0 comments on commit efa8e5e

Please sign in to comment.