mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Add generic data structures querying (#13684)
* Query lookup plugin * Add license and docstrings * Add python3-ish imports * Change query plugin type from lookup to filter * Switch from dq to jsonpath_rw * Add integration test for query filter * Rename query filter to json_query * Add jsonpath-rw * Rename query filter to json_query * Switch query implementation from jsonpath-rw to jmespath
This commit is contained in:
parent
f21df311bc
commit
e54a9d3a51
5 changed files with 76 additions and 7 deletions
|
@ -85,6 +85,8 @@ container_id=$(docker run -d \
|
|||
|
||||
show_environment
|
||||
|
||||
docker exec "${container_id}" pip install jmespath
|
||||
|
||||
if [ "${copy_source}" ]; then
|
||||
docker exec "${container_id}" cp -a "${test_shared_dir}" "${test_ansible_dir}"
|
||||
fi
|
||||
|
|
|
@ -44,7 +44,8 @@ pkg install -y \
|
|||
# TODO: bootstrap.sh should install these
|
||||
pip install \
|
||||
junit-xml \
|
||||
virtualenv
|
||||
virtualenv \
|
||||
jmespath
|
||||
|
||||
# FIXME: tests assume bash is in /bin/bash
|
||||
if [ ! -f /bin/bash ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue