This website requires JavaScript.
Explore
Cloud
Chat
CI/CD
Help
Sign in
cmueller
/
ansible
Watch
1
Star
0
Fork
You've already forked ansible
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
8eab113cb1
ansible
/
test
/
integration
/
targets
/
templating_lookups
/
template_deepcopy
/
template.in
2 lines
28 B
Text
Raw
Normal View
History
Unescape
Escape
template lookup: fix regression when templating hostvars (#64070) This fixes a regression that was caused by switching from copy() to deepcopy() when 'saving' variables before templating. Since HostVars did not implement the __deepcopy__() method, deepcopy returned incorrect results when host vars were present in the variables. Fixes #63940
2019-11-06 15:25:43 +01:00
{{hostvars['h1'].host_var}}
Reference in a new issue
Copy permalink