Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Linux Automatisation Manager - jmespath is missing

Matthieu COUSSIMar 8 2024

Hi,

I'm currently testing Oracle Linux Automatisation Manager.

I have somme Ansible instruction with [json_query].

When i run the playbook, i got this message :

{
"msg": "You need to install \"jmespath\" prior to running json_query filter",
"_ansible_no_log": false
}

I search how to install this package to package site manager python uses by Ansible.

I connect to awx user on server :

su -l awx -s /bin/bash

I source the VirtualEnv :

source venv/awx/bin/activate

And i install the package :

python3 -m pip install jmespat

After i find the package in the VirtualEnv of awx user :

ls -rtl /var/lib/ol-automation-manager/venv/awx/lib/python3.9/site-packages/jmespath
total 84
-rw-rw-r--. 1 awx awx 281 8 mars 08:20 __init__.py
-rw-rw-r--. 1 awx awx 381 8 mars 08:20 compat.py
-rw-rw-r--. 1 awx awx 2130 8 mars 08:20 ast.py
-rw-rw-r--. 1 awx awx 10834 8 mars 08:20 visitor.py
-rw-rw-r--. 1 awx awx 19088 8 mars 08:20 parser.py
-rw-rw-r--. 1 awx awx 8574 8 mars 08:20 lexer.py
-rw-rw-r--. 1 awx awx 12736 8 mars 08:20 functions.py
-rw-rw-r--. 1 awx awx 4128 8 mars 08:20 exceptions.py
drwxrwxr-x. 2 awx awx 4096 8 mars 08:20 __pycache__

But i still got the same error message.

Can you help me please ?

Thanks for yourhelp,

Matt

Comments
Post Details
Added on Mar 8 2024
1 comment
461 views