Hi
I'd like to define a group in my inventory that will include hosts as
well as some groups.
For instance I have this in my inventory:
[squid]
proxy-prod
proxy-uat
proxy-test
[testgroup]
squid
extrahost
If I run a playbook and use 'testgroup' for the hosts definition, I get:
[WARNING]: Found both group and host with same name: squid
If I change the inventory to use the children syntax:
[testgroup:children]
squid
extrahost
Then I get:
[testgroup:children] includes undefined group: extrahost
I can get this to work outside of the inventory, in my playbook:
hosts:
- squid
- eventr-uat
But then this collection of hosts isn't available in the inventory,
and hence not to other roles etc.
Is it possible at all to have a 'mixed' group in the inventory?
Thanks
Dick