Fixing bugs in include + loops

Fixes #11872
This commit is contained in:
James Cammarata 2015-08-11 01:28:42 -04:00
parent 7666bde666
commit 169d316704
4 changed files with 11 additions and 6 deletions

View file

@ -412,7 +412,9 @@ class StrategyBase:
# set the vars for this task from those specified as params to the include
for b in block_list:
b.vars.update(included_file._args.copy())
temp_vars = b.vars.copy()
temp_vars.update(included_file._args.copy())
b.vars = temp_vars
return block_list