mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-22 04:40:43 +00:00
ignore missing auto escaping in jinja2
This commit is contained in:
parent
c20a39c772
commit
5946f5810e
@ -110,12 +110,11 @@ class Generator:
|
||||
data = template.read()
|
||||
if data is not None:
|
||||
try:
|
||||
# print(json.dumps(role_data, indent=4, sort_keys=True))
|
||||
jenv = Environment(
|
||||
jenv = Environment( # nosec
|
||||
loader=FileSystemLoader(self.config.get_template()),
|
||||
lstrip_blocks=True,
|
||||
trim_blocks=True
|
||||
) # nosec
|
||||
)
|
||||
jenv.filters["to_nice_yaml"] = self._to_nice_yaml
|
||||
jenv.filters["deep_get"] = self._deep_get
|
||||
jenv.filters["save_join"] = self._save_join
|
||||
|
Loading…
Reference in New Issue
Block a user