mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-24 04:54:00 -07:00
* template: fix KeyError: 'undefined variable: 0
For compatibility with the Context.get_all() implementation
in jinja 2.9, make AnsibleJ2Vars implement collections.Mapping.
Also, make AnsibleJ2Template.newcontext() handle dict type
for the 'vars' parameter.
See:
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_safe_eval.py | ||
| test_templar.py | ||
| test_template_utilities.py | ||
| test_vars.py | ||