mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Copy module needs to use src as transfer path.
This commit is contained in:
parent
263432daa1
commit
c16b691883
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue