The intent is to hit the following hosts
host_group01
host_group02
another_host_group provided it’s also in the group environment_test
I’ve tried something along this in the playbook
- hosts: ~host_group(01:02):another_host_group:&environment_test
But this appears to exclude any host that is not in environment_test, and missing host_group01 and host_group02
How can I isolate another_host_group:&environment_test ? I am struggling to work out a regex or find a way modify the hostgroup computation away from the default, in math the equivalent of 2*(3+4).