Re: i Cant connect to windows server

15 views
Skip to first unread message
Message has been deleted

chall...@gmail.com

unread,
Nov 14, 2016, 11:10:28 AM11/14/16
to Ansible Project
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

Reply all
Reply to author
Forward
0 new messages