Surface module debug (-D) to /usr/bin/ansible also

This commit is contained in:
Michael DeHaan
2012-03-31 11:45:29 -04:00
parent d7e5b390d5
commit 2511992659
4 changed files with 18 additions and 0 deletions

View File

@@ -42,6 +42,9 @@ class TestCallbacks(object):
def on_import_for_host(self, host, filename):
EVENTS.append([ 'import', [ host, filename ]])
def on_error(self, host, msg):
EVENTS.append([ 'stderr', [ host, msg ])
def on_not_import_for_host(self, host, missing_filename):
pass