This package provides build files for a RPM package including the dynamic inventory script released with Ansible 2.9 upstream branch.
- RPM build environment ex. https://github.com/mhutter/docker-rpmbuild/
The script is working with Ansible 2.9 (or newer).
The package contain the script ec2.py and ec2.ini from the upstream Ansible repository: https://github.com/ansible/ansible/tree/stable-2.9/contrib/inventory (more recent versions moved to https://github.com/ansible-community/contrib-scripts/blob/main/inventory/)
If you searching for a manual, you may find the ressources here:
- http://docs.ansible.com/ansible/latest/intro_dynamic_inventory.html#example-aws-ec2-external-inventory-script
- https://aws.amazon.com/blogs/apn/getting-started-with-ansible-and-dynamic-amazon-ec2-inventory-management/
Each contribution is very welcome--be it an issue or a pull request. We're happy to accept pull requests so long as they meet the existing code quality and design.
- Fork repository (https://github.com/appuio/ansible-dynamic-inventory-ec2/fork)
- Create feature branch (
git checkout -b my-new-feature
) - Commit changes (
git commit -av
) - Push to branch (
git push origin my-new-feature
) - Create a pull request
GPL 3.0
APPUiO Team info@appuio.ch