-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
borgmatic_hooks
indentation broken in rendered config
#157
Comments
I have the same issue. The borgmatic_hooks do not look good and will result in an error. |
True. I also had to correct this a few times. |
Fixed via #155 |
I'm using 1.1.0 and the resulting config file gives an error with hooks.
Indenting manually works. |
Sorry for the delay in releasing this, @user171. Was held up by a CI issue. New release with this fix is now out on Ansible Galaxy: https://galaxy.ansible.com/ui/standalone/roles/borgbase/ansible_role_borgbackup/ |
No worries, thanks for the great work. |
After #155, the indentation of
borgmatic_hooks
is broken. The hooks now live on the root indentation level and are no longer children ofhooks:
in the rendered configuration file.Using
1.1.0
works fine. I'm not sure what the motivation behind #155 was, but it introduced this regression.The obvious fix is to use
| indent(4)
or similar on the{{ hooks }}
line, too, I suppose.The text was updated successfully, but these errors were encountered: