Hi Dan,
thanks for your help, but I run this playbook and still no IGW
---
- name: vpc deploy test
hosts: localhost
connection: local
gather_facts: False
tasks:
# Creates
- name: Create VPC and default subnet
ec2_vpc:
state: present
resource_tags: {
Hi Pablo,
This is my working ansible task to create vpc:
- name: VPC | Creating and AWS VPC inside mentioned Region
local_action:
module: ec2_vpc
region: {{ vpc_region }}
state: present
cidr_block: {{ cidr_block }}
resource_tags: { Name:{{ vpc_name| default(test)
2015-02-26 10:41 GMT+01:00 Dan Vaida vaida@gmail.com:
So you're saying that after running that the IGW is not associated with
your subnet(s)?
yes. I have to manually add the IGW to the vpc in the console so the
machines have internet access
Also, can you confirm that the routing tables
Just had a look at all my tasks involving ec2_vpc module and all of them
have
internet_gateway: yes
I believe that is your problem. In that case, the documentation example
should reflect this, as per the shown parameter values in the table.
I took a look at ec2_vpc.py and there isn't anything
So you're saying that after running that the IGW is not associated with
your subnet(s)?
Also, can you confirm that the routing tables have the correct subnets
associations?
On Tuesday, 24 February 2015 21:37:04 UTC+1, Pablo Escobar wrote:
Hi,
I have been doing some tests to deploy a ec2 vpc