mirror of https://github.com/ansible/ansible.git
Ensure ec2_win_password doesn't leak file handle
Currently the module doesn't explicitly close the file handle. This wraps the reading of the private key in a try/finally block to ensure the file is properly closed.reviewable/pr18780/r1
parent
f6a7b6dd1f
commit
41a2542f00
Loading…
Reference in New Issue