-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted json to string before indent in jinja2 templates
- Loading branch information
Tony Edgin
committed
Nov 3, 2023
1 parent
3d1ffa7
commit 4a4703f
Showing
6 changed files
with
86 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% import 'server_config_macros.j2' as sc with context %} | ||
{ | ||
"access_entries": {{ sc.access_entries() | indent(4) }}, | ||
"access_entries": {{ sc.access_entries() | string | indent(4) }}, | ||
"schema_name": "host_access_control_config", | ||
"schema_version": "v3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% import 'server_config_macros.j2' as sc with context %} | ||
{ | ||
"host_entries": {{ sc.host_entries() | indent(4) }}, | ||
"host_entries": {{ sc.host_entries() | string | indent(4) }}, | ||
"schema_name": "hosts_config", | ||
"schema_version": "v3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters