Hello Jon, Thanks for your answer. I hoped to be able to do it without `json_query` (and thus without `jmespath`), but I don't think it's possible.
Il giorno martedì 16 gennaio 2018 09:12:34 UTC+1, J Hawkesworth ha scritto: > > You need to use the json_query filter (and install jmespath module on your > ansible controller machine) if you want to use JMESPath filtering. > > See > > > http://docs.ansible.com/ansible/latest/playbooks_filters.html#json-query-filter > > There's an example there that looks fairly similar to what you are trying > to do. > > Hope this helps, > > Jon > > On Monday, January 15, 2018 at 4:15:56 PM UTC, Manfredi Giordano wrote: >> >> Sorry I forgot, I am using Ansible 2.4.2.0 with Python 2.7.12. >> > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/00fb7087-3467-4742-a377-fd1ae07e8b70%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.