mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix aysnc failure by forgetting the remote tempdir that async_wrapper will delete on the remote end
This commit is contained in:
parent
d4b31afbc5
commit
5c085b2436
1 changed files with 5 additions and 1 deletions
|
@ -805,8 +805,12 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
||||||
# remove internal keys
|
# remove internal keys
|
||||||
remove_internal_keys(data)
|
remove_internal_keys(data)
|
||||||
|
|
||||||
# FIXME: for backwards compat, figure out if still makes sense
|
|
||||||
if wrap_async:
|
if wrap_async:
|
||||||
|
# async_wrapper will clean up its tempdir on its own so we want the controller side to
|
||||||
|
# forget about it now
|
||||||
|
self._connection._shell.tempdir = None
|
||||||
|
|
||||||
|
# FIXME: for backwards compat, figure out if still makes sense
|
||||||
data['changed'] = True
|
data['changed'] = True
|
||||||
|
|
||||||
# pre-split stdout/stderr into lines if needed
|
# pre-split stdout/stderr into lines if needed
|
||||||
|
|
Loading…
Reference in a new issue