Is it possible to subscripts children sub group?
Inventory file testinv.ini
[group1]
hostname1
hostname2
hostname3
[group2]
hostname4
hostname5
hostname6
[test:children]
group1[0:1]
group2[0:1]
ansible -i testinv.ini --list-host test
Running the list-host does not return any data.
Is it possible to match two hosts from every group under the children's group?
Expected result is:
hosts (4):
hostname1
hostname2
hostname4
hostname5