Commit 38eb53de by James Cammarata

Fix bug in vars using correct temp value for vars

Fixes #11877
parent 4d853a5d
......@@ -275,7 +275,7 @@ class VariableManager:
copied_vars = all_vars.copy()
if 'hostvars' in copied_vars:
del copied_vars['hostvars']
all_vars['vars'] = all_vars.copy()
all_vars['vars'] = copied_vars
#CACHED_VARS[cache_entry] = all_vars
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment