ansible判断对指定主机组执行task , when: inventory_hostname in {{ groups['group'] }} does not work with dynamic
So just did a lot of experimenting and found Works: when: inventory_hostname in groups['group'] F ...