mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Regression tests for playbooks, logging the events they call via callbacks.
This commit is contained in:
@@ -49,7 +49,7 @@ class PlaybookCallbacks(object):
|
||||
def on_failed(self, host, results):
|
||||
print "failed: [%s] => %s\n" % (host, utils.smjson(results))
|
||||
|
||||
def on_ok(self, host):
|
||||
def on_ok(self, host, host_result):
|
||||
print "ok: [%s]\n" % (host)
|
||||
|
||||
def on_play_start(self, pattern):
|
||||
|
||||
Reference in New Issue
Block a user