A filter as I showed you above would be simpler, than a module imo.

On Tue, Aug 2, 2016 at 7:47 AM, <[email protected]> wrote:

> Thanks Allen!
>
> I was trying to avoid creating anything custom, but it looks like a custom
> module needs to be made.
>
>
> Thank you so much.
>
> On Monday, August 1, 2016 at 11:58:49 AM UTC-4, [email protected]
> wrote:
>>
>> I'm not sure if I'm overlooking this or not, but is there a module from
>> Ansible that will describe the availability zones in my AWS region?
>>
>> I typically use us-east-1 as my default region, which has 5 available
>> availability zones (A,B, C, D, E), out of which I can only use 4.  I never
>> know which ones are available to me when I stand up my VPC and create my
>> subnets.
>>
>> So my desire is to simply describe availability zones with an ansible
>> module, and NOT pass the aws cli ec2 describe-availability-zones through
>> with a `command` in my role.
>>
>> Thank you.
>>
> --
> 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/be8a49de-c36c-4f17-8025-e168db23b433%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/be8a49de-c36c-4f17-8025-e168db23b433%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAH2deCbUc3JgJOL%2Br2zpyz1uZt%3Dm%2BKjw0Lu7vKT7TOQEWMVW-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to