Please use this as reference: https://github.com/arbabnazar/ansible-aws-roles, hope you will get all the desired information
On Friday, May 4, 2018 at 3:08:33 AM UTC+5, karthick selvam wrote: > > --- > - hosts: all > connection: local > gather_facts: no > tasks: > - ec2_vpc: > state: present > cidr_block: 172.22.0.0/16 > resource_tags: { "Environment":"Development" } > subnets: > - cidr: 172.22.1.0/24 > az: ap-south-1a > resource_tags: { "Environment":"Dev", "Tier" : "Web" } > - cidr: 172.22.2.0/24 > az: ap-south-1b > resource_tags: { "Environment":"Dev", "Tier" : "App" } > internet_gateway: True > route_tables: > - subnets: > - 172.22.1.0/24 > routes: > - dest: 0.0.0.0/0 > gw: igw > region: ap-south-1 > register: vpc > -- 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/19fd7b91-f2dc-4145-befd-b0fd3574e9c2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.