ansible-prometheus icon indicating copy to clipboard operation
ansible-prometheus copied to clipboard

Molecule error

Open furbaez opened this issue 5 years ago • 4 comments

What happened? When I run molecule I am getting and error Did you expect to see some different?

How to reproduce it (as minimally and precisely as possible):

Environment

  • Role version:

    master

  • Ansible version information:

    ansible --version

  • Ansible playbook execution Logs:

 fatal: [centos7 -> localhost]: FAILED! => {"changed": false, "msg": "Failed to find handler for \"/root/.ansible/tmp/ansible-tmp-1589987489.6133811-51729961650313/source\". Make sure the required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/bin/tar\" detected as tar type None. GNU tar required."}

Anything else we need to know?:

furbaez avatar Jun 11 '20 14:06 furbaez

GNU tar required

On Mac you need gnu-tar (brew install gnu-tar) as written in requirements section of README.md

paulfantom avatar Jun 11 '20 14:06 paulfantom

I am not running this on a Mac, I am running this inside a Centos:7 docker container

furbaez avatar Jun 11 '20 14:06 furbaez

@paulfantom Could you please advise if you can I am not using a Mac.

furbaez avatar Jun 11 '20 14:06 furbaez

Try installing tar utility on localhost

paulfantom avatar Jun 11 '20 18:06 paulfantom

This role has been deprecated in favor of a the prometheus-community/ansible collection.

SuperQ avatar Mar 06 '23 15:03 SuperQ