mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 14:01:42 -07:00
Fixes jina typos
Moved *jina* to *jinja2*
This commit is contained in:
parent
1c22f2146e
commit
0cd0a7fda3
3 changed files with 5 additions and 5 deletions
|
@ -319,12 +319,12 @@ def template_from_file(basedir, path, vars):
|
|||
to load them with the jinja environment
|
||||
'''
|
||||
jinja_exts = []
|
||||
if C.DEFAULT_JINA_EXTENSIONS:
|
||||
if C.DEFAULT_JINJA2_EXTENSIONS:
|
||||
'''
|
||||
Let's make sure the configuration directive doesn't contain spaces
|
||||
and split extensions in an array
|
||||
'''
|
||||
jinja_exts = C.DEFAULT_JINA_EXTENSIONS.replace(" ", "").split(',')
|
||||
jinja_exts = C.DEFAULT_JINJA2_EXTENSIONS.replace(" ", "").split(',')
|
||||
|
||||
environment = jinja2.Environment(loader=loader, trim_blocks=True, extensions=jinja_exts)
|
||||
for filter_plugin in utils.plugins.filter_loader.all():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue