I am trying to run ping command on my windows host from linux controller
i created inventory.txt file
[win]
servername
[win:vars]
ansible_user=myusername
ansible_password=password
ansible_connection=winrm
ansible_winrm_transport=basic
ansible_winrm_server_cert_validation=ignore
ansible_port=5986
the error Iam getting is
servername | UNREACHABLE! => {
"changed": false,
"msg": "basic: HTTPSConnectionPool(host='servernname', port=5986): Max
retries exceeded with url: /wsman (Caused by
NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at
0x7f8ad0f13f90>: Failed to establish a new connection: [Errno 111]
Connection refused',))",
"unreachable": true
}
--
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/e7b4d353-00d6-41eb-8914-c2fa40bcfbaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.