Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

You need to install \"jmespath\" prior to running json_query filter #314

Closed
TheRojam opened this issue Sep 21, 2020 · 1 comment
Closed

Comments

@TheRojam
Copy link

What happened?

TASK [cloudalchemy.prometheus : Get all file_sd files from scrape_configs] ******************************
fatal: [mon-1-0-1.inet.lpz]: FAILED! => {"msg": "You need to install "jmespath" prior to running json_query filter"}

Did you expect to see some different?

that this role install its requirements to run?!

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

Environment

  • Role version:

    Insert release version/galaxy tag or Git SHA here

  • Ansible version information:

    ansible --version
    2.9.13

  • Variables:

insert role variables relevant to the issue
  • Ansible playbook execution Logs:
insert Ansible logs relevant to the issue here

Anything else we need to know?:

@TheRojam TheRojam added the bug Something isn't working label Sep 21, 2020
@paulfantom paulfantom added wontfix This will not be worked on and removed bug Something isn't working labels Sep 22, 2020
@paulfantom
Copy link
Member

paulfantom commented Sep 22, 2020

This is clearly stated in requirements section.

jmespath needs to be installed on host which executes ansible. In majority of scenarios such host is not included in a playbook, hence cannot be managed by the role and this requirement cannot be installed.

@stale stale bot removed the wontfix This will not be worked on label Sep 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants