Hi Mike, I implemented this here:
https://github.com/ansible/ansible/pull/10413 Want to test it out and comment on the pull request with your results? -Tim On Mon, Apr 13, 2015 at 6:52 PM, Michele Viviani <[email protected]> wrote: > All, > I'm newbie in ansible and I wuold like to create an AWS dynamic inventory > with some filters on. > in the doc I see that we can specify more filters condition, separated by > comma, but that will work in OR condition. > ------------------- > # Retrieve only t1.micro instances OR instances with tag env=stage > # instance_filters = instance-type=t1.micro,tag:env=stage > ------------------- > How to create a filter with AND condition > > # Retrieve only t1.micro instances AND instances with tag env=stage > > > Thanks > MIke Halof > > -- > 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/fd4b8f6d-6f83-44ad-b384-fe1f23475c3f%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/fd4b8f6d-6f83-44ad-b384-fe1f23475c3f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAH4wdVXkQ4J9vSsR3V4OQ%3DVyhcHhtAACX7y0imF-umpKjbgWJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
