The current ec2_vpc module has issues. We know this and it's on its way out 
in favor of ec2_vpc_net ec2_vpc_route_table ec2_vpc_subnet which can be 
found at 
https://github.com/ansible/ansible-modules-core/tree/devel/cloud/amazon 
and https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/amazon


I would suggest downloading them into your $ANSIBLE_ROOT/library directory 
until Ansible v2 has been released


On Sunday, November 15, 2015 at 2:36:06 PM UTC-5, Ed Zhu wrote:
>
> I'm trying the ec2_vpc example posted in the documentation page (
> http://docs.ansible.com/ansible/ec2_vpc_module.html). Everything is 
> working as expected, except it always reports configuration has changed. 
> Here's the verbose output:
>
> PLAY [Create VPCs] 
> ************************************************************ 
>
> TASK: [Create dev VPC in us-west-2] 
> ******************************************* 
> changed: [localhost] => {"changed": true, "subnets": [{"az": "us-west-2a", 
> "cidr": "10.0.1.0/24", "id": "subnet-05102460", "resource_tags": {"env": 
> "dev"}}, {"az": "us-west-2b", "cidr": "10.0.2.0/24", "id": 
> "subnet-f9400a8e", "resource_tags": {"env": "dev"}}, {"az": "us-west-2c", 
> "cidr": "10.0.3.0/24", "id": "subnet-56c7a50f", "resource_tags": {"env": 
> "dev"}}], "vpc": {"cidr_block": "10.0.0.0/16", "dhcp_options_id": 
> "dopt-28498f4d", "id": "vpc-27745542", "region": "us-west-2", "state": 
> "available"}, "vpc_id": "vpc-27745542"}
>
> Any idea why it's reporting configuration has changed on re-run?
>
> Thanks,
> Ed
>

-- 
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/93a0c33e-2784-4110-9e5a-e07a984bf6fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to