diff --git a/library/file b/library/file index b672934e4e..90d6892601 100755 --- a/library/file +++ b/library/file @@ -93,7 +93,7 @@ if path: path = os.path.expanduser(path) src = params.get('src', None) if src: - path = os.path.expanduser(src) + src = os.path.expanduser(src) dest = params.get('dest', None) mode = params.get('mode', None) owner = params.get('owner', None) diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py index 97e3f102c3..20a00c43cf 100644 --- a/test/TestPlayBook.py +++ b/test/TestPlayBook.py @@ -140,7 +140,9 @@ class TestPlaybook(unittest.TestCase): callbacks = self.test_callbacks, runner_callbacks = self.test_callbacks ) - return self.playbook.run() + result = self.playbook.run() + print utils.bigjson(dict(events=EVENTS)) + return result def test_one(self): pb = os.path.join(self.test_dir, 'playbook1.yml')