Easiest way is to create a Windows group, define the connection plugin in 
that group, and finally add your Windows hosts as children of that group;

[windows:children]
server01
server03
branch02
....

[windows:vars]
ansible_connection=winrm

You can add some more values to configure WinRM if you wish but by default 
you at least need to tell Ansible to use the winrm connection plugin.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f0d6364b-e5f4-4e56-8bc1-3e2983a3689b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to