[ansible-project] Filter hosts matching groups

2019-01-22 Thread Tony Chia
Try this in your playbook hosts: linux::_x -- 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

Re: [ansible-project] Filter hosts matching groups

2019-01-22 Thread Bruno Cochofel
Hi, Thanks Kai, I will give it a try. Bruno On Tue, Jan 22, 2019, 19:36 Kai Stian Olstad < ansible-project+l...@olstad.com wrote: > 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

Re: [ansible-project] Filter hosts matching groups

2019-01-22 Thread Kai Stian Olstad
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

[ansible-project] Filter hosts matching groups

2019-01-21 Thread Bruno Cochofel
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