Having a hard time developing hosts file

Below is part of the yaml host file I am trying to complete. I am having issues targeting specific groups. Most work when using ios modules but then when I use aireos modules it just skips right over and says nothing was found. Am I creating this host file correctly? Is there a better way of doing this?

all:
children:
na:
children:
uscl:
children:
routers:
children:
voice:
wan:
wlc:
hosts:
switches:
children:
core:
hosts:
access:
hosts:

usen:
children:
routers:
children:
voice:
hosts:

wan:
wlc:
switches:
children:
core:
hosts:
access:
hosts:

First, you don't seem to have any hosts defined, that is why nothing
can be matched, you are only creating groups.

Another thing i would point out is that 'groups are always global' so
any host or group relationship defined in one place affects the same
group, so voice/wan only need to be defined as children of routers one
time, no need to repeat it elsewhere. The 'routers' group under 'uscl'
is the same group as the one under 'usen'.

Hi Brian,

Thank you for your quick reply. I removed the hosts when I posted it. Can you provide an example?

regards,
Vince

If they are also global Routers > WAN/Voice how will i mark a host that is in a different region as voice and in usen or uscl.

i'm unsure of what you are trying to do, but a host is always part of
all the groups it is defined in, the way you have it structured it
would always be part of all 4 groups involved.