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

(cherry picked from commit 721da46842)
This commit is contained in:
Krzysztof Magosa 2016-06-07 15:43:01 +02:00 committed by Brian Coca
parent 66d54dec58
commit aa66551352

View file

@ -309,7 +309,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