Hi all, merry christmas. Does anyone have any info on the ability to run json queries inside playbooks within the schmots1/netapp-ansible image/container? I am getting this error TASK [set_fact] ******************************************************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "You need to install "jmespath" prior to running json_query filter"}
#jmespath in schmots1
1 messages · Page 1 of 1 (latest)
sorry all, sometimes i should think before i ask, i ran pip install jmespath and that worked.
Next issue, is it possible to install jq into a container?
sure but you need to edit the Dockerfile and build your own container from it. Or just "wget" it from inside the container (if you have wget). Or use jq from outside the container (e.g. docker exec -it foo -- some_command | jq)