[ansible-project] EC2 Inventory plugin AND

2015-02-24 Thread Daniel Richardson
Is there any way to use AND in the instance_filters parameter instead of OR? For instance I would like to be able to filter on tag:env=stage AND tag:Owner=me -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and

Re: [ansible-project] EC2 Inventory plugin AND

2015-02-25 Thread Chris Church
Not at the moment. It's possible via boto and the EC2 API. I'd propose using a syntax such as: instance_filters = tag:env=stage&tag:Owner=me On Tue, Feb 24, 2015 at 6:46 PM, Daniel Richardson wrote: > Is there any way to use AND in the instance_filters parameter instead of > OR? > > For ins

Re: [ansible-project] EC2 Inventory plugin AND

2015-03-08 Thread Timothy Gerla
Hi Chris and Daniel, I took a stab at implementing this: https://github.com/ansible/ansible/pull/10413 Comments appreciated! -Tim On Thu, Feb 26, 2015 at 1:12 AM, Chris Church wrote: > Not at the moment. It's possible via boto and the EC2 API. I'd propose > using a syntax such as: > > insta