Is it possible to use regular expressions to create groups within an 
inventory file? Such as the below:
>
> hosts

SRX110-1-GB
SRX110-2-GB
SRX110-5-GB
SRX550-1-GB
SRX110-1-US
SRX240-1-US
SRX240-2-GB

[MODEL-SRX110]
~^SRX110.*

[MODEL-SRX240]
~^SRX240.*

[MODEL-SRX550]
~^SRX550.*

[COUNTRY-GB]
~.*-GB$
[COUNTRY-US]
~.*-US$


-- 
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/2c7c8486-ae65-46a6-bf0d-80d5e0888bcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to