Hi,
I am having an issue trying to connect to my windows server in the internal network, as I get this error:
TASK [setup] *******************************************************************
fatal: [10.xxx.xxx.xxx]: UNREACHABLE! => {“changed”: false, “msg”: “ssl: auth method ssl requires a password”, “unreachable”: true}
Inventory fille:
-----hosts----
[win_servers]
10.248.8.11
[win_servers:vars]
ansible_user=Administratot
ansible_pass=Horse@123456
ansible_port=5986
ansible_connection=winrm
The following is necessary for Python 2.7.9+ when using default WinRM self-signed certificates:
ansible_winrm_server_cert_validation=ignore
And I used the following powershell script to enable winrm.