summaryrefslogtreecommitdiff
path: root/lib/ansible/cli/console.py
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2023-05-04 14:55:27 +0200
committerGitHub <noreply@github.com>2023-05-04 14:55:27 +0200
commit8cd95a8e664ccd634dc3a95642ef7ad41f007169 (patch)
tree0862adc2e77c4078a3c1e535de0725c6a775ac35 /lib/ansible/cli/console.py
parent7eada15d1e9470e010f1c13b52450b01d8e46930 (diff)
downloadansible-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