DEV Community

Cover image for Using Ansible unarchive module with Alpine Linux
nop33.eth
nop33.eth

Posted on • Originally published at iliascreates.com on

Using Ansible unarchive module with Alpine Linux

If you are running Ansible on Alpine Linux and you use the unarchive builtin module you might have faced the following error message:

[Errno 2] No such file or directory: b'-T'
Enter fullscreen mode Exit fullscreen mode

The reason for this is that the unzip tool in Alpine does not have a -T option. To be able to use the unarchive Ansible module with Alpine Linux, you need to install unzip:

apk add unzip
Enter fullscreen mode Exit fullscreen mode

See the related GitHub issue.

Photo by Simon Fitall on Unsplash

Top comments (0)