ec2.py instance_filters all security groups except

40 views
Skip to first unread message

jus...@brandcast.com

unread,
Aug 19, 2015, 10:02:20 PM8/19/15
to Ansible Project
Using dynamic inventory with ec2.py am trying to filter based on all instance except where the security group is monolithic.

I tried:

instance_filters = !security_group:monolithic

But this did not work. How is this possible? 

jus...@brandcast.com

unread,
Aug 20, 2015, 5:29:47 PM8/20/15
to Ansible Project
Also tried:

instance_filters = instance.group-name!=monolithic

Anybody know how to negate filter?
Reply all
Reply to author
Forward
0 new messages