recent change in Jinja breaks existing playbooks with jinja2_native=true #69196
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
files
Files category
module
This issue/PR relates to a module.
native_jinja
issues related to jinja native types
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
I have a simple playbook and since a released change in Jinja2 (2.11.2), my playbook now fails with error:
ISSUE TYPE
COMPONENT NAME
template
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Tested on macOS and Linux, with bare minimal inventory.
STEPS TO REPRODUCE
Run the following playbook (make sure you enable jinja2_native template).
EXPECTED RESULTS
With Jinja 2.11.1, it work fine, with Jinja 2.11.2, it breaks with the error mentioned above.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: