mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
The file module doesn’t have it’s module_args reset
I believe that this should be reset in the same way that the copy module does
This commit is contained in:
parent
7b01c83159
commit
e2d03173d2
1 changed files with 1 additions and 0 deletions
|
@ -96,4 +96,5 @@ class ActionModule(object):
|
||||||
res = self.runner._execute_module(conn, tmp, 'copy', module_args, inject=inject)
|
res = self.runner._execute_module(conn, tmp, 'copy', module_args, inject=inject)
|
||||||
return res
|
return res
|
||||||
else:
|
else:
|
||||||
|
module_args = "%s src=%s dest=%s original_basename=%s" % (module_args, pipes.quote(xfered), pipes.quote(dest), pipes.quote(os.path.basename(src)))
|
||||||
return self.runner._execute_module(conn, tmp, 'file', module_args, inject=inject)
|
return self.runner._execute_module(conn, tmp, 'file', module_args, inject=inject)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue