Hi,
we have to support several environments (Dev, Test, Preview, Prod) - so we have the following structure for our (static) inventory:
`
inventory
– group
---- dev
- hosts
- group_vars
- host_vars
---- test
- hosts
- group_vars
- host_vars
---- prod
- hosts
- group_vars
- host_vars
`
The hosts file looks like
`
[weblogic]
domain-1
domain-2
…
domain-5
[domain-1]
myserver1.com
[domain-2]
myserver2.com
[domain-5]
myserver5.com
`
=> The [weblogic] parent group always has the same entries, while the [domain-x] groups have 1…N servers depending on the environment.
Is there a way to share this “common weblogic group” over all inventories ?
I want to prevent repeating this group definition.
Thanx for any advice,
Torsten