mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
Fix v2 playbook_on_start method signature
This commit is contained in:
parent
abecbb3ed1
commit
573403a05c
@ -326,9 +326,9 @@ class JobCallbackModule(BaseCallbackModule):
|
|||||||
def playbook_on_start(self):
|
def playbook_on_start(self):
|
||||||
self._log_event('playbook_on_start')
|
self._log_event('playbook_on_start')
|
||||||
|
|
||||||
def v2_playbook_on_start(self):
|
def v2_playbook_on_start(self, playbook):
|
||||||
# since there is no task/play info, this is currently identical
|
# NOTE: the playbook parameter was added late in Ansible 2.0 development
|
||||||
# to the v1 callback which does the same thing
|
# so we don't currently utilize but could later.
|
||||||
self.playbook_on_start()
|
self.playbook_on_start()
|
||||||
|
|
||||||
def playbook_on_notify(self, host, handler):
|
def playbook_on_notify(self, host, handler):
|
||||||
|
Loading…
Reference in New Issue
Block a user