Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Unpack tar.gz on Windows Server?
74 views
Skip to first unread message
Slim Slam
unread,
Feb 10, 2016, 12:44:28 PM
2/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
Slim Slam
unread,
Feb 10, 2016, 4:55:55 PM
2/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
J Hawkesworth
unread,
Feb 11, 2016, 6:27:33 AM
2/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages