Hii, I’m trying to move away from the old ec2.py
dynamic inventory to the current (supported) amazon.aws.aws_ec2 inventory – EC2 inventory source — Ansible Community Documentation.
I have everything working - execpt one thing. The current inventory script has hard coded sorting of the found instances by InstanceId
: amazon.aws/plugins/inventory/aws_ec2.py at main · ansible-collections/amazon.aws · GitHub
Our old ec2.py
had a local patch, to allow sorting by the value of the Name
tag (or other tags).
Before I try to create a similar patch for the current plugin, would such a feature be acceptable?
thx