>
> your server is still trying to ssh into the server.
>

host file should like this:

 localhost ansible_connection=local

[win]
10.XXX.XXX.XXX

[win:vars]
ansible_connection=winrm
ansible_ssh_port=5986
ansible_ssh_user=
ansible_ssh_pass=
ansible_winrm_server_cert_validation=ignore

playbook should contain
hosts: win

and when you try running playbook, try
ansible-playbook XXX.yml  -i hosts

-- 
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/d15ad4a9-9e8e-4dac-876f-8c2804dcb199%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to