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.pull/4420/head
parent
a675b10b3b
commit
eb850bf81a
|
@ -62,7 +62,7 @@ class ActionModule(object):
|
||||||
module_args_tmp = ""
|
module_args_tmp = ""
|
||||||
complex_args_tmp = dict(path=creates, get_md5=False, get_checksum=False)
|
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,
|
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)
|
stat = module_return.result.get('stat', None)
|
||||||
if stat and stat.get('exists', False):
|
if stat and stat.get('exists', False):
|
||||||
return ReturnData(
|
return ReturnData(
|
||||||
|
|
Loading…
Reference in New Issue