On Wed, 1 Feb 2023 at 14:57, 'Rowe, Walter P. (Fed)' via Ansible Project <
[email protected]> wrote:

> Look at the ansible filters documentation. They provide examples.
>

ehm, yes, I did get that...

It's as simple as:

"{{ my_list | json_query('[].{somekey:@}') }}"

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLZq4LHPajF0umgOwrWP%2B__VoqgBuadYx9-6n5vre6MVzA%40mail.gmail.com.

Reply via email to