Thanks Baraa. I wrote a custom AWS shell script to create an inventory file for my needs.
https://github.com/dnraj/ec2scripts/blob/master/scripts/generate_ansible_aws_inventory.sh On Saturday, May 2, 2015 at 11:47:46 AM UTC-7, Baraa Basata wrote: > > Hi Raj, > > There is an option in ec2.ini to exclude RDS instances: > > > https://github.com/ansible/ansible/blob/a87d8891826246cceb15961cfbbd6a2c728afb52/plugins/inventory/ec2.ini#L44-L45 > > I hope this is helpful. > -Baraa > > On Friday, May 1, 2015 at 2:43:40 PM UTC-4, Raj Desikavinayagompillai > wrote: >> >> Hello, >> Running the ec2.py inventory script as follows >> >> ec2.py --list >> >> I have a filter for instance type based on app name='xyx'. >> >> This should return only sepecific app-servers which I am restricing in >> the call. >> But it returning all hosts in the group including the rds instance names. >> Filter in ec2.ini is not working either. Is there any debug option >> available to troubleshoot the same issue? >> >> thanks >> dnraj >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/90b4b26b-ef6d-402f-ba82-30f14b0aee22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
