Have a look at: http://docs.ansible.com/intro_patterns.html#patterns

On Monday, 15 December 2014 16:13:18 UTC+1, Guillaume Subiron wrote:
>
> Hi, 
>
> I manage multiple clients, and my servers are named using the following 
> pattern: 
> - foo-db01 
> - foo-www01 
> - bar-db01 
> - bar-mail01 
> - … 
>
> I would like to make one group by client, using a wildcard for example: 
>
> [foo-server] 
> foo-* 
>
> [bar-server] 
> bar-* 
>
> Is it possible to do something like that ? I tried to combine numeric 
> and alphabetic ranges, but I can't find a way to do what I want. 
>
> Thanks. 
>
> -- 
> Guillaume Subiron 
>   Mail - [email protected] <javascript:> 
>    GPG - 5BC2 EADB 
> Jabber - [email protected] <javascript:> 
>    IRC - maethor@(freenode|geeknode) 
>

-- 
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/10287c07-1938-4e47-b713-ec0ece33f774%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to