mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 03:42:45 +00:00
ANSIBLE_REMOTE_TMP was an implementation of unified temp that was later changed
One of the earlier implementation of unified temp for 2.4 passed the temp diretory to the remote side using this environment variable. We later changed it to be passed via a module parameter but forgot to remove the environment variable.
This commit is contained in:
@@ -321,8 +321,6 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
||||
|
||||
self._connection._shell.tmpdir = rc
|
||||
|
||||
if not become_unprivileged:
|
||||
self._connection._shell.env.update({'ANSIBLE_REMOTE_TMP': self._connection._shell.tmpdir})
|
||||
return rc
|
||||
|
||||
def _should_remove_tmp_path(self, tmp_path):
|
||||
|
||||
Reference in New Issue
Block a user