Skip to content

Commit

Permalink
fix: playbook_on_task_start expects name and not task object (ansible…
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-magosa authored and bcoca committed Jun 7, 2016
1 parent ef9238a commit 721da46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/plugins/callback/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def v2_playbook_on_no_hosts_remaining(self):
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
Expand Down

0 comments on commit 721da46

Please sign in to comment.