mirror of https://github.com/ansible/ansible.git
get_url: Verify checksum using tmpsrc, not dest (#64092)
Previously, if the checksum of the downloaded file did not match the specified checksum, the *destination* file was removed. This possibly leaves the system that is being provisioned in an invalid state. Instead, the checksum should be calculated on the temporary file only. If there's a mismatch, delete the *temporary* file, not the destination file. This requires checking the checksum before moving the file.pull/80136/merge
parent
96c04e9d1d
commit
c2c6005842
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- get_url - Verify checksum using tmpsrc, not dest (https://github.com/ansible/ansible/pull/64092)
|
Loading…
Reference in New Issue