Hi,

I am using the AWS inventory script but I need a way to select groups of 
hosts based on a shared set of tags. I.e many hosts might share the same 
Project tag but of that group only a few would share the same Product tag 
however, the Product tag may also contain some hosts from other Projects.

As such I need the hosts which I am acting on to be a subset of these two 
(actually i am basing it off of three tags but I hope two is enough for the 
example)

I tried the following in my playbook



hosts: "[tag_Product=xxx, tag_Project=yyy]"



Regards

Mark

-- 
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/532d144c-cb9d-4300-a4e6-73671627b215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to