-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
SUMMARY
The module will leave temporary files in the current working directory. I believe the issue is here. If the error doesn't fit that message you end up with a temporary file that lingers.
ISSUE TYPE
- Bug Report
COMPONENT NAME
net_put
ANSIBLE VERSION
ansible [core 2.16.14]
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /ansible/lib64/python3.11/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /ansible/bin/ansible
python version = 3.11.7 (main, Jan 26 2024, 19:22:20) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/ansible/bin/python)
jinja version = 3.1.6
libyaml = TrueCOLLECTION VERSION
# /collections/ansible_collections
Collection Version
----------------- -------
ansible.netcommon 8.1.0
ansible.utils 6.0.0
cisco.ios 11.1.1CONFIGURATION
OS / ENVIRONMENT
CentOS Stream 8 in a container
STEPS TO REPRODUCE
Trigger a failure in get_file that doesn't match the if condition (for me this was the libssh connection resetting on the scp channels).
EXPECTED RESULTS
Any temporary files that are created are properly cleaned up even in failure.
ACTUAL RESULTS
Lingering files with the UUID naming linger.
Metadata
Metadata
Assignees
Labels
No labels