diff options
author | Martin Krizek <martin.krizek@gmail.com> | 2023-05-04 14:55:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 14:55:27 +0200 |
commit | 8cd95a8e664ccd634dc3a95642ef7ad41f007169 (patch) | |
tree | 0862adc2e77c4078a3c1e535de0725c6a775ac35 /lib/ansible/cli/console.py | |
parent | 7eada15d1e9470e010f1c13b52450b01d8e46930 (diff) | |
download | ansible-8cd95a8e664ccd634dc3a95642ef7ad41f007169.tar.gz |
Account for overlays when interacting with Jinja envs (#80705)
Instead of using Templar.environment in Templar.do_template for
accessing/mutating the environment, myenv local variable should be used
because it is the environment used for actual templating. It can either
point to Templar.environment or newly created environment overlay.
Fixes #80605
Diffstat (limited to 'lib/ansible/cli/console.py')
0 files changed, 0 insertions, 0 deletions