From 9b8793e42e3ae01c4bae5196a233a4ded0debbe7 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 23 Jul 2012 21:01:35 -0400 Subject: [PATCH] Fix a glitch with daisy chain logic --- lib/ansible/runner/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 43f0f0e0860..e4f137a7386 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -439,8 +439,8 @@ class Runner(object): xfered = self._transfer_str(conn, tmp, 'source', resultant) # run the copy module, queue the file module - args = "src=%s dest=%s" % (xfered, dest) - return self._execute_module(conn, tmp, 'copy', args, inject=inject).daisychain('file') + self.module_args = "src=%s dest=%s" % (xfered, dest) + return self._execute_module(conn, tmp, 'copy', self.module_args, inject=inject).daisychain('file') # ***************************************************** @@ -592,7 +592,7 @@ class Runner(object): result.result['changed'] = changed del result.result['daisychain'] - self._delete_remote_files(conn, tmp) + #self._delete_remote_files(conn, tmp) conn.close() if not result.comm_ok: