Skip to content

Commit

Permalink
remove 'to_nice_yaml' filter (#27)
Browse files Browse the repository at this point in the history
* remove 'to_nice_yaml' filter

'to_nice_yaml' don't decrypt vaulted vars and copy the vaulted string as-is.
removing this filter decrypt the var as intended.

* update templates/local.settings.j2

decrypting the vault chain while preserving to_nice_yaml
  • Loading branch information
jsl6ul authored Apr 15, 2024
1 parent 21d5c30 commit 7ca2f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/local.settings.j2
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# {{ ansible_managed }}
{{ cobbler_settings | to_nice_yaml(indent=2) }}
{{ cobbler_settings | to_json(vault_to_text=True) | from_json | to_nice_yaml }}

0 comments on commit 7ca2f36

Please sign in to comment.