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.pull/18777/head
parent
b92b30e3b3
commit
61672e5c61
Loading…
Reference in New Issue