mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07:00
Code cleanup for playbooks, also added 'on_skipped' callback
This commit is contained in:
parent
24964b9660
commit
6ab615c724
5 changed files with 159 additions and 163 deletions
|
@ -60,6 +60,9 @@ class PlaybookCallbacks(object):
|
|||
else:
|
||||
print "ok: [%s] => %s\n" % (host, invocation)
|
||||
|
||||
def on_skipped(self, host):
|
||||
print "skipping: [%s]\n" % host
|
||||
|
||||
def on_import_for_host(self, host, imported_file):
|
||||
print "%s: importing %s" % (host, imported_file)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue