Skip to content

Fatal error while running Ansible playbook #2

@chosenonehacks

Description

@chosenonehacks

Hi, I am not proficient with Ansible. I was trying to follow your guide and DigitalOcean guide how to prepare control host.

While running paybook with ansible I am getting fatal error:

TASK [common : update xfce /etc/skel files] ****************************************************************************
fatal: [XXX.XX.XX.XXX]: FAILED! => {"changed": false, "msg": "Failed to find handler for \"/root/.ansible/tmp/ansible-tmp-1585832679.98-69685067466233/source\". Make sure the required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/bin/tar\" could not handle archive."}

I double-checked unzip and tar are in propper locations on ubuntu. Everything is a default Digital Ocean ubuntu 18.04

user@host:~$ whereis unzip
unzip: /usr/bin/unzip /usr/share/man/man1/unzip.1.gz
user@host:~$ whereis tar
tar: /usr/lib/tar /bin/tar /usr/share/man/man1/tar.1.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions