You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During my last development task #1481 I noticed that uses of tempfile will not use the environment variable TMP, TMPDIR or ANSIBLE_REMOTE_TMP.
In that task, I only fixed zos_copy code, but doing a simple search I noticed other modules are using the same library.
This enabler task is to validate which modules are not honoring the ansible_remote_tmp variable and instead create temporary files under other locations, size the task(s) and assign a priority.
The initial module list seems to be:
zos_job_submit.
zos_script.
zos_unarchive.
module_utils/data_set (We need to check which modules use this, most likely zos_data_set).
module_utils/encode (We need to check which modules, again, at least zos_encode).
module_utils/template
zos_fetch
zos_mount
zos_tso_command
Do test these with another user that is not BXPROOT, change the permissions that are in the remote tmp directory to not be able to write/read in/from it.
Ansible module
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Enabler description
During my last development task #1481 I noticed that uses of
tempfile
will not use the environment variableTMP
,TMPDIR
orANSIBLE_REMOTE_TMP
.In that task, I only fixed
zos_copy
code, but doing a simple search I noticed other modules are using the same library.This enabler task is to validate which modules are not honoring the
ansible_remote_tmp
variable and instead create temporary files under other locations, size the task(s) and assign a priority.The initial module list seems to be:
Do test these with another user that is not BXPROOT, change the permissions that are in the remote
tmp
directory to not be able to write/read in/from it.Ansible module
No response
The text was updated successfully, but these errors were encountered: