Skip to content

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

@rfisher001

Description

@rfisher001

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)

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