Hello, currently I try to unarchive a file via ansible however I always get the following:
msg: Failed to find handler to unarchive. Make sure the required command to extract the file is installed.
Currently my Machine is a OS X 10.11 and my Target machine a CentOS 7.
However I have another set of machines on CentOS 7 where I use tar.gz archives and unarchive which succeeds.
Currently tar and gunzip is installed on both machines.
Bit more information like what ansible version you're using and
information about the archive you're operating on would be helpful.
Here's some troubleshooting that might be helpful:
* Ansible first looks for a gtar program and then a tar program in the
user's path. On centos7, I imagine htose would both be present so
that shouldn't be the issue.
* Ansible runs the following command to test if tar can handle the file:
tar -tzf "FILENAME"
Does that command work on the archive you are operating on on the
target machine?
* Is the archive the same on the centos7 machine which succeeds and
the centos7 machine that fails?
-Toshio