json_query

Collection: community.general

Full Name: parallax.community.general.json_query

Aliases: community.general.json_query, json_query

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manage json query

Parameters

NameTypeRequiredDefaultDescription
datastringyesJSON data string or data structure to query
querystringyesQuery expression using dot notation (e.g. key.subkey, items[0].name)

Example

- name: Example json_query task
  json_query:
    data: <your_data>
    query: <your_query>