0

I'm trying to ping to windows server 2008 via ansible from ubuntu.

my host file is

[win]
192.168.10.6


[win:vars]
ansible_user=Administrator
ansible_password="password"
ansible_port=5986
ansible_connection=winrm
#ansible_winrm_transport=basic
#ansible_winrm_scheme=https
ansible_winrm_server_cert_validation=ignore
ansible_winrm_kerberos_delegation=true

https is listening in windows 2008

enter image description here

I'm getting the following error when doing ansible win -m win_ping

ansible@ubuntu-server:~$ ansible win -m win_ping
192.168.10.6 | UNREACHABLE! => {
    "changed": false,
    "msg": "ssl: HTTPSConnectionPool(host='192.168.10.6', port=5986): Max retries exceeded with url: /wsman (Caused by SSLError(SSLError(\"bad handshake: Error([('SSL routines', 'ssl_choose_client_version', 'unsupported protocol')])\")))",
    "unreachable": true
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.