pyinfra
pyinfra copied to clipboard
Some potentially helpful additions to the 'file' operations module
Describe the solution you'd like It would be great to be able to support pulling the verification hash for a file download from a file. For example https://releases.hashicorp.com/consul/1.8.5/consul_1.8.5_SHA256SUMS
Separately, it might be useful to have an operation for something like file.extract for unpacking Zip, Tar, etc. archives. This could either wrap the file.download capabilities or chain off of it to unpack files that are downloaded.