title: How to structure ansible script to create instances or not to create instances
body: <p>I have ansible scripts to build out infrastructure on existing server instances. My inventory files specifies all the hosts and the playbooks operates on instances in my inventory file.</p>
  
  <p>My question is: what is the best practice for building out new instances? should it be includes in the scripts that setup the environment or separated? I'm a bit confused how the script could create instances (say EC2 instances) and accept inventory files.</p>