mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -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:
|
||
|---|---|---|
| .. | ||
| bar | ||
| foo.j2 | ||
| foo2.j2 | ||
| foo3.j2 | ||
| import_as.j2 | ||
| import_as_with_context.j2 | ||
| import_as_with_context.js | ||
| import_with_context.j2 | ||
| parent.j2 | ||
| qux | ||
| short.j2 | ||
| subtemplate.j2 | ||