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

fix: playbook_on_task_start expects name and not task object (#16168)

This commit is contained in:
Krzysztof Magosa 2016-06-07 15:43:01 +02:00 committed by Brian Coca
parent ef9238ab85
commit 721da46842

View file

@ -313,7 +313,7 @@ class CallbackBase:
self.playbook_on_no_hosts_remaining()
def v2_playbook_on_task_start(self, task, is_conditional):
self.playbook_on_task_start(task, is_conditional)
self.playbook_on_task_start(task.name, is_conditional)
def v2_playbook_on_cleanup_task_start(self, task):
pass #no v1 correspondance