Commit 9b8793e4 by Michael DeHaan

Fix a glitch with daisy chain logic

parent 183330a9
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment