Do not cache the loop item label so that it will update with each item

pull/36389/merge
James Tanner 7 years ago committed by Brian Coca
parent ca59a4ede4
commit d1f76939e5

@ -332,7 +332,7 @@ class TaskExecutor:
res['_ansible_ignore_errors'] = task_fields.get('ignore_errors') res['_ansible_ignore_errors'] = task_fields.get('ignore_errors')
if label is not None: if label is not None:
res['_ansible_item_label'] = templar.template(label) res['_ansible_item_label'] = templar.template(label, cache=False)
self._rslt_q.put( self._rslt_q.put(
TaskResult( TaskResult(

Loading…
Cancel
Save