--- - include_tasks: install.yml when: inventory_hostname in groups['hyperv'] - include_tasks: config.yml when: inventory_hostname in groups['hyperv']