You could modify the ec2.py script so that it checks he ec2_image_id and does some logic based around the OS associated with the ec2_image_id.
On Monday, July 20, 2015 at 5:16:54 PM UTC-4, Adam R. wrote: > > Hello, > > I would like to know if it is possible to get OS information from the AWS > ec2 dynamic inventory script? Like OS distribution. Or how do you get OS > information before sshing the host? > > > Thank you. > > > B.R. > -- 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/e782dffa-1dce-4d99-8f68-efbc4dbd8d5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
