Don't set the item variable as eager template replacement will over-replace the variable as an empty string.

pull/2631/head
Michael DeHaan 12 years ago
parent 586ee923a6
commit c64f19dc5f

@ -172,7 +172,6 @@ class PlayBook(object):
for item in items:
incvars = vars.copy()
incvars['item'] = item
if 'vars' in play:
if isinstance(play['vars'], dict):
incvars.update(play['vars'])

Loading…
Cancel
Save