On Mar 8, 2014, at 6:27 PM, Michael DeHaan <[email protected]> wrote:

> This feels like it belongs in the inventory plugin, so it is automatic, can 
> you expand on thoughts?

Yes, I wrote this precisely because the inventory plugin didn't suit my needs. 
The inventory module only works for existing instances.

I create a maintenance instance on the fly for burning AMIs. I need to check to 
see if the instance exists; if not, I create it using a base AMI in a 
particular VPC, then configure the instance with whatever roles I need (web, 
monitoring, syslog, etc) by passing the newly created host IP to add_host. 
Finally, I burn an AMI from the instance and shut it down.

Regards,
-scott

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/46DB77FF-ED03-4F64-986D-28D00EF06AEC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to