dataxu/ansible — pull request #1 by dxsarmit (2013-10-11 17:26:00+00:00)
Title: If an AWS account does not have a default subnet in their VPC configurat...

...ion, then creating instances in that VPC will not automatically provide a public IP/DNS. Boto added this functionality in 2.13.0 (NetworkInterfaceSpecification.associate_public_ip_address).

This change adds assign_pubic_ip as a parameter to the ec2 module, ensuring that it is not set to one of BOOLEANS_TRUE if vpc_subnet_id is not also set, and if Boto is less than 2.13.0.