title: Assign Public IP address on AWS while creating Autoscaling groups that launch instances into an Amazon VPC in Ansible
body: <p>I am actually trying to create public IP address and DNS name which is going to be used for auto scaling groups that launch instances into an amazon VPC. </p>
  
  <p>Is that true that I have to use "assign_public_ip" parameter in ec2_lc module? If yes then how can I assign to it in Ansible script ? </p>
  
  <p>I have created all the scripts for auto scaling, launch configuration and load balancing. It is just that I cannot log in to instance unless and until I assign Public IP or Public DNS name to it. </p>