-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unarchive: Failed to find handler #18
Comments
Heh, I've overlooked the problem. I've got |
Still not sure if this should be handled in the role. |
I think that role should be provisioned on clean macOS only with brew installed, but I don't tested it on clean macOS... So you can add |
It is not working because the unarchive module uses /usr/bin/tar and installing gnu-tar does not replace the symlink of tar from bsdtar to gnu-tar |
@gaizeror, just replace symlink yourself. |
@popstas I am new to macOS, but I get permissions denied (also with sudo) |
@gaizeror, try to become root with |
I tried, so wierd root cant change symlink |
I meet the same problem in my CentOS7, but I have both the
HOLY SHIT ! OK, run |
I installed manually fzf with |
* this solves viasite-ansible/ansible-role-zsh#18 * though, `unarchive` should not be used for uncompressing, in the first place (see *Synopsis* on https://docs.ansible.com/ansible/latest/modules/unarchive_module.html) * checksums can be obtained via https://storage.googleapis.com/kubernetes-release/release/v1.16.3/bin/linux/amd64/kubectl.[md5,sha1,sha256,sha516]
Got similar error on Ubuntu 22.04:
|
@kenorb , is it relative to project ansible-role-zsh? |
It is vanilla Ansible, sorry. But the issue could be related. |
To aid any future dwellers who like me landed here when looking for an answer to:
In my case the cause turned out to be a mere typo in the Similarly, I suspect that the |
Role fails on the "Download fzf" step, which uses the
unarchive
module.I have both
tar
andunzip
installed:$ which tar /usr/bin/tar $ ls -hal /usr/bin/tar lrwxr-xr-x 1 root wheel 6 Jul 16 2015 /usr/bin/tar -> bsdtar $ which unzip /usr/bin/unzip $ ls -hal /usr/bin/unzip -rwxr-xr-x 2 root wheel 158K May 1 2015 /usr/bin/unzip
OSX, zsh already installed, default playbook, run with
ansible-playbook -i 'localhost,' -c local playbook.yml
.I also doubt that
https://github.com/junegunn/fzf-bin/releases/download/0.16.8/fzf-0.16.8-linux_amd64.tgz
is the correct option for OSX, so I've opened #17. Running the playbook with--extra-vars "zsh_fzf_os={{ ansible_os_family }}"
results in using the darwin release, but doesn't fix the problem.Any ideas on how to debug this further?
The text was updated successfully, but these errors were encountered: