Yes, you can, using 'register' and 'groupname'. Take a look at this playbook I did to do just that: https://github.com/phips/aws-jenkins
On Monday, 13 January 2014 15:32:26 UTC, [email protected] wrote: > > Is it possible to fully automatic launch an EC2 instance and run the > playbooks against this instance, with only one command? > > Currently when I run the playbook, I need to assume this EC2 instance is > already in my host file, it would be great if they can be done fully > automatically. > > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
