Skip to content
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

need to install \"jmespath\" prior to running json_query filter #160

Open
rfisher001 opened this issue Jun 7, 2023 · 0 comments
Open

need to install \"jmespath\" prior to running json_query filter #160

rfisher001 opened this issue Jun 7, 2023 · 0 comments

Comments

@rfisher001
Copy link

Trying to run: ansible-playbook -vv -i inventory workloads/baseline.yml -e baseline_test_prefix="baseline_smoke" -e BASELINE_WORKLOAD_DURATION="60s"

It continues to fail on:

TASK [Poll until job pod is running] *****************************************************************************************************************************************************************************************
task path: /root/workloads/workloads/baseline.yml:116
fatal: [localhost]: FAILED! => {"msg": "The conditional check 'pod_json.stdout | from_json | json_query('items[0].status.phase==Running')' failed. The error was: You need to install "jmespath" prior to running json_query filter"}

I have installed dnf install python3-jmespath.noarch
I also checked to make sure jmespath is in pip:
workloads]# pip3 list | grep jmespath
jmespath (0.9.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant