Closed
Description
ISSUE TYPE
- Feature Idea
COMPONENT NAME
json_query
ANSIBLE VERSION
ansible 2.3.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
CONFIGURATION
N/A
OS / ENVIRONMENT
Ubuntu 16.04 both client & server, Ansible installed from PPA.
SUMMARY
The json_query filter relies on the jmespath library.
While not strictly necessary for running Ansible, it is a very useful feature so it would be great if python-jmespath could be added as a dependency (or at least a recommend) for the official PPA.
This report is cribbed from a similar request for the shipped Debian package:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859999
Note that I also had this on a 14.04 box, and had some problems with python-jmespath as shipped by Ubuntu 14.04, so needed to install the 16.04 package. I don't know much about Ubuntu packaging; maybe this would be a problem.