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() self.playbook_on_no_hosts_remaining()
def v2_playbook_on_task_start(self, task, is_conditional): 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): def v2_playbook_on_cleanup_task_start(self, task):
pass #no v1 correspondance pass #no v1 correspondance