diff options
Diffstat (limited to 'lib/ansible/utils/template.py')
-rw-r--r-- | lib/ansible/utils/template.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/utils/template.py b/lib/ansible/utils/template.py index 89795c0c55..9c6e26e6a5 100644 --- a/lib/ansible/utils/template.py +++ b/lib/ansible/utils/template.py @@ -489,6 +489,7 @@ def template_from_string(basedir, data, vars): return data def my_lookup(*args, **kwargs): + kwargs['vars'] = vars return lookup(*args, basedir=basedir, **kwargs) t.globals['lookup'] = my_lookup |