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. For more options, visit https://groups.google.com/d/optout.
