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