# hosts: launched

**URL:** <https://forum.ansible.com/t/hosts-launched/21395>\
**Category:** Ansible Project\
**Created:** [May 10, 2016, 2:44pm UTC](https://forum.ansible.com/t/hosts-launched/21395 "2016-05-10T14:44:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![William\_Donnelly](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@William\_Donnelly](https://forum.ansible.com/u/William_Donnelly)\
**Post date:** [May 10, 2016, 2:44pm UTC](https://forum.ansible.com/t/hosts-launched/21395/1 "2016-05-10T14:44:10Z")

</div>

Hello,

Has anyone found the correct syntax for launching a temporary ec2 instance with Ansible, doing some config on it, then using the newly created ip address of the ec2 instance in the  
the host inventory.

This part is all good:
