On Tuesday, 22 January 2019 08:00:02 CET Bruno Cochofel wrote:
> Hi all,
> 
> I have a custom CMDB and I've created a script for dynamic inventory. On that 
> script I have grouped hosts using several ways, just like VMware dynamic 
> inventory script.
> 
> My question is, how can I match using more then one group? Something like, I 
> want to deploy to all Linux, that are in the prd group but only the ones that 
> are also in the data center X.
> Is this possible?

It shouldn't be a problem check at patterns
https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html

-- 
Kai Stian Olstad


-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2683497.Q3SgnEEzWG%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to