Remove unneccessary construction of Jinja2 environment object.
This commit is contained in:
parent
b869551a4c
commit
4e79bd0872
1 changed files with 0 additions and 1 deletions
|
@ -420,7 +420,6 @@ def _get_filter_plugins():
|
|||
global FILTER_PLUGINS
|
||||
if FILTER_PLUGINS is not None:
|
||||
return FILTER_PLUGINS
|
||||
environment = jinja2.Environment(trim_blocks=True)
|
||||
FILTER_PLUGINS = {}
|
||||
from ansible import utils
|
||||
for filter_plugin in utils.plugins.filter_loader.all():
|
||||
|
|
Loading…
Reference in a new issue