What’s the Ansible 2.0 recommended way to unpack a tar.gz file on Windows?
It looks like win_unzip can handle gzip’ed files, but what about unpacking tar archives?
J
What’s the Ansible 2.0 recommended way to unpack a tar.gz file on Windows?
It looks like win_unzip can handle gzip’ed files, but what about unpacking tar archives?
J
The easiest way seems to be to install 7z http://www.7-zip.org and use that. It can handle zip/gzip/tar easily.
I’d rather use an ansible module, of course.
J
If you want an example role to install 7zip - have a look in the integration tests
test/integration/roles/test-win-msi/
All the best,
Jon