Commit c16b6918 by Michael DeHaan

Copy module needs to use src as transfer path.

parent 263432da
...@@ -317,6 +317,7 @@ class Runner(object): ...@@ -317,6 +317,7 @@ class Runner(object):
conn.put_file(source, tmp_src) conn.put_file(source, tmp_src)
# run the copy module # run the copy module
self.module_args = "%s src=%s" % (self.module_args, tmp_src)
return self._execute_module(conn, tmp, 'copy', self.module_args, inject=inject).daisychain('file') return self._execute_module(conn, tmp, 'copy', self.module_args, inject=inject).daisychain('file')
else: else:
......
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