Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ansible dynamic inventory missing from github repo

I was checking this documentation https://docs.ansible.com/ansible/latest/user_guide/intro_dynamic_inventory.html#inventory-script-example-aws-ec2

and found that EC2 dynamic inventory is not available in github repo and other inventories are also not available. https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/ec2.py

There is no information in Ansible release notes or anywhere. Even looks like documentation is also not up-to-date. Please share if anyone has any information about this.

like image 601
Sandeep Sharma Avatar asked Sep 09 '26 15:09

Sandeep Sharma


1 Answers

Yes, official documentation is not updated and the links are resulting in 404. I just checked official Ansible repository on Github and found that required folder is not present in "devel" branch.

However, you can still get the required ec2.py and ec2.ini files from "stable" branches.

https://github.com/ansible/ansible/blob/stable-2.9/contrib/inventory/ec2.ini https://github.com/ansible/ansible/blob/stable-2.9/contrib/inventory/ec2.py

like image 85
saurabh14292 Avatar answered Sep 11 '26 12:09

saurabh14292



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!