On Thu, Sep 17, 2020 at 10:23 AM PRAVEEN KATTULAPALLI <[email protected]> wrote: > > i got the below error when i am trying to ping windows machine > i have ran that configurepowershell.ps1 power script also and my winrm > service is running successfully nut still facing same issue, please give me a > solution for this. > > win2016 | UNREACHABLE! => { > "changed": false, > "msg": "basic: HTTPConnectionPool(host='win2016', port=5985): Max retries > exceeded with url: /wsman (Caused by > ConnectTimeoutError(<urllib3.connection.HTTPConnection object at > 0x7f8b2e02ed90>, 'Connection to 52.168.175.51 timed out. (connect > timeout=30)'))", > "unreachable": true > > I used the below details for connection in inventory: > [windows] > win2016 > > [windows:vars] > ansible_user=root > ansible_password=password > ansible_connection=winrm > ansible_port=5985 > ansible_winrm_transport=basic > ansible_ssh_port=5986 > ansible_winrm_server_cert_validation=ignore > Can you ping it from the command line?
> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/2664c96f-09b2-415a-9858-3d7224045501n%40googlegroups.com. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHEKYV5Jb06GeE7UhUNsWUKE3gHmOfHEAo-dnqP9WUXqxZsX6g%40mail.gmail.com.
