1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
James Tanner 2018-02-20 07:43:19 -05:00 committed by Brian Coca
parent ca59a4ede4
commit d1f76939e5

View file

@ -332,7 +332,7 @@ class TaskExecutor:
res['_ansible_ignore_errors'] = task_fields.get('ignore_errors')
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(
TaskResult(