mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix issue with unarchive disabling pipelining mode
Was using persist_files=True when specifying the create paramater, which breaks pipelining. Switched to use delete_remote_tmp=False instead, which is the proper way to preserve the remove tmp dir when running other modules from the action plugin.
This commit is contained in:
parent
a675b10b3b
commit
eb850bf81a
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class ActionModule(object):
|
|||
module_args_tmp = ""
|
||||
complex_args_tmp = dict(path=creates, get_md5=False, get_checksum=False)
|
||||
module_return = self.runner._execute_module(conn, tmp, 'stat', module_args_tmp, inject=inject,
|
||||
complex_args=complex_args_tmp, persist_files=True)
|
||||
complex_args=complex_args_tmp, delete_remote_tmp=False)
|
||||
stat = module_return.result.get('stat', None)
|
||||
if stat and stat.get('exists', False):
|
||||
return ReturnData(
|
||||
|
|
Loading…
Reference in a new issue