Re: [ansible-project] ansible-inventory --list .. how to get part of info

2021-05-01 Thread esxi...@gmail.com
Thanks Abhijeet On Saturday, May 1, 2021 at 9:21:45 PM UTC-7 Abhijeet Kasurde wrote: > ec2.py is deprecated. Please use > https://github.com/ansible-collections/amazon.aws/blob/main/plugins/inventory/aws_ec2.py > > > You can specify filters to keep only the information you require. Check > e

Re: [ansible-project] ansible-inventory --list .. how to get part of info

2021-05-01 Thread Abhijeet Kasurde
ec2.py is deprecated. Please use https://github.com/ansible-collections/amazon.aws/blob/main/plugins/inventory/aws_ec2.py You can specify filters to keep only the information you require. Check example section for more information - https://github.com/ansible-collections/amazon.aws/blob/c5d31d7094

[ansible-project] ansible-inventory --list .. how to get part of info

2021-05-01 Thread esxi...@gmail.com
hello i am using ansible-inventory with AWS I see all EC2 details .. great Is it possible from the output to extract only some info eg To list AWS resources execute the below command: 1 ./ec2.py --list This will return the entire list of AWS resources in JSON. { "_meta": { "hos