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.
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 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.
Hello James,
Thats a good idea. We have like 23 different images installed. Maybe i can do some logic to process only the ones that are different and process the others as always. Thank you!