mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Get v2_playbook_on_start working
* Move self._tqm.load_callbacks() earlier to ensure that v2_on_playbook_start can fire * Pass the playbook instance to v2_on_playbook_start * Add a _file_name instance attribute to the playbook
This commit is contained in:
parent
53cd802251
commit
384b2e0234
3 changed files with 8 additions and 3 deletions
|
@ -246,7 +246,7 @@ class CallbackBase:
|
|||
def v2_runner_on_file_diff(self, result, diff):
|
||||
pass #no v1 correspondance
|
||||
|
||||
def v2_playbook_on_start(self):
|
||||
def v2_playbook_on_start(self, playbook):
|
||||
self.playbook_on_start()
|
||||
|
||||
def v2_playbook_on_notify(self, result, handler):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue