[ansible-project] Re: From RHEL not able to connect to windows VM

2018-11-29 Thread Suma P
Hi Tony, Thanks for your mail.I tried the one which you suggested still not working.actually our windows are using public ip and its not in domain.will that cause issue? Thanks & Regards, Suma On Wednesday, November 28, 2018 at 10:21:50 PM UTC+5:30, Tony Chia wrote: > > By default ansible will

[ansible-project] Re: From RHEL not able to connect to windows VM

2018-11-28 Thread Tony Chia
By default ansible will use ssh connection which tries to connect to port 22 even if the target host is windows. In order to tell ansible to connect using winrm which uses port 5985(non-ssl)/5986(ssl), you have to add these variable/settings to your inventory file ansible_port: 5986 ansible_co