Now you might have to add a new firewall inbound rule to allow port 22 connection for your ssh session into your windows.
From there you should be able to ssh into your windows by [email protected]@host-name
Now we update our inventory, add a "[windows]" category and put your windows boxes below
Now for any other windows machine you have to add you would do the same thing
Ansible Configuration
Now here are some screenshots of my ansible configuration files
This is my ansible.cfg file which specifies my inventory.txt and overrides the default config file
This is my inventory.txt file that defines the hosts and groups of hosts upon which commands, modules, and tasks in a playbook operate.
Here is a look at my roles directory which automatically load related vars, files, tasks, handlers, and other Ansible artifacts based on a known file structure.