I setup an inventory file and group windows.
I setup a group_vars for for windows.
$ cat customer/windows-testing
$ cat group_vars/windows.yml
ansible_ssh_user: Administrator
ansible_ssh_pass: "Password"
ansible_ssh_port: 5986
ansible_connection: winrm
$ ansible windows -i customers/windows-testing -m win_ping -vvvv
I don't understand why ansible is attempting to ssh (port 22) as basictheprogram (me) installed of winrm to port 5986 as Administrator.
$ ansible --version
ansible 1.8 (devel 4c86bd3ca6) last updated 2014/10/21 12:09:14 (GMT -500)
lib/ansible/modules/core: (detached HEAD cb69744bce) last updated 2014/10/07 14:28:03 (GMT -500)
lib/ansible/modules/extras: (detached HEAD 8a4f07eecd) last updated 2014/10/07 14:28:06 (GMT -500)
v2/ansible/modules/core: (detached HEAD cb69744bce) last updated 2014/10/07 14:28:11 (GMT -500)
v2/ansible/modules/extras: (detached HEAD 8a4f07eecd) last updated 2014/10/07 14:28:15 (GMT -500)
configured module search path = None