summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael DeHaan <michael.dehaan@gmail.com>2012-06-19 21:55:57 -0400
committerMichael DeHaan <michael.dehaan@gmail.com>2012-06-19 21:57:43 -0400
commitefac68b636ed60fb3b751a4fa152da4accd19ac0 (patch)
tree77b3e0390db14d713c41a7dbc402ed03b2a7b20d /test
parent9efea6f7a229fefbc7ff88d441a8f3fe4f194107 (diff)
downloadansible-efac68b636ed60fb3b751a4fa152da4accd19ac0.tar.gz
Remove the -D module debug flag, which no longer is functional due to sudo pty requirements, and replace with -v/--verbose.
This flag will show playbook output from non-failing commands. -v is also added to /usr/bin/ansible, but not yet used. I also gutted some internals code dealing with 'invocations' which allowed the callback to know what module invoked it. This is not something 0.5 does or needed, so callbacks have been simplified.
Diffstat (limited to 'test')
-rw-r--r--test/TestPlayBook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py
index ec72f261e1..64d26a7ce9 100644
--- a/test/TestPlayBook.py
+++ b/test/TestPlayBook.py
@@ -63,7 +63,7 @@ class TestCallbacks(object):
def on_ok(self, host, result):
# delete certain info from host_result to make test comparisons easier
host_result = result.copy()
- for k in [ 'ansible_job_id', 'results_file', 'invocation', 'md5sum', 'delta', 'start', 'end' ]:
+ for k in [ 'ansible_job_id', 'results_file', 'md5sum', 'delta', 'start', 'end' ]:
if k in host_result:
del host_result[k]
for k in host_result.keys():