How to apply/run playbook target at a specific group of machines in the ini-style inventory

Hello everyone,
I am a pretty new face to Ansible. I can follow instruction pretty good however, I need your help with the following scenario.
I created an .INI style inventory file called “hosts”, with basically categorize our devices/servers in different groups like below

Then the issue must in the playbook itself.
What does that look like?

Hi,

Right, it maybe the playbook itself. Anyway, the play1.yml is per below:

That “*” is a bit unusual (to me at least).
Try:

hosts: all

And then see if the issue is still there

I have changed to “host: all” per your suggestion, it unfortunately did not help…
It does not like the -i ./inventory/hosts Windows
But if I just do -i ./inventory/hosts (without the group “Windows”), it will work but it will do all the devices/machines instead of just a specific group (which I want to)
Thank you

I actually figured it out, should use the -l

-i ./inventory/hosts -l Windows

Works like a charm!