Do not cache the loop item label so that it will update with each item
This commit is contained in:
parent
ca59a4ede4
commit
d1f76939e5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue