Thanks, that works for the group names. But what if I’m just trying to specify 2 hosts inside a group of 6? Would I have to put them all in groups to get around this?
Is a - (dash) an invalid character for hostnames in Ansible? Or is it splitting on that somewhere when it shouldn’t be?