Hi,

I have command like this which picks up an element from a list of AWS 
hosted zones if hosted zone named "testinternal" is found in the list. If 
it finds it, extracts Id filed from that element.

aws route53 list-hosted-zones | jq '.HostedZones[] | select(.Name == 
"testinternal.")' | jq -r ".Id"


Is there an alternative to this in Ansible ? 


If any, then I would like to use it in conjunction with route53_facts module so 
that I do not need to rely on jq command.

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/188178c7-d240-41b8-8c93-f48915072c85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to