On Thu, 31 Jan 2019 at 08:14, Rene Moser <rene.mo...@gmail.com> wrote:

> Since there seems to be a new technical requirement in json_query (can
> not be done with current ansible), I wonder what it would take extend
> json_query to support jq.
>

I confess I would strongly prefer a new filter, than adding a mode argument
to json_query(). In my view adding an extra argument would significantly
increase the number of test cases to cover, the complexity of the API, and
the ease of discovery. This would be more true if/when the jq mode/filter
grew support for jq variables, or other jq features that took additional
arguments.

Do you have a preference for json_query(..., mode=jq)?

Thanks, Alex
-- 
Alex Willmer <a...@moreati.org.uk>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to