Please find below the screent shot 
I run the two rules command for http and https listener 
and I run winrm qc 

but its listining only to http 


On Thursday, November 1, 2018 at 3:14:03 PM UTC+2, Ankit Vashistha wrote:
>
> Can you share winrm configuration?
>
> On Thu, Nov 1, 2018, 3:50 PM nadim mansour <nadimma...@gmail.com 
> <javascript:>> wrote:
>
>> How can I let ansible run on windows node(windows server 2012 machine) ??
>> I ran the belwo commands on power shell before running the ansible script 
>> :
>>
>>
>> *netsh advfirewall firewall add rule name="Allow WinRM (Http)" dir=in 
>> localport=5985 protocol=tcp action=allow enable=yes*
>> *netsh advfirewall firewall add rule name="Allow WinRM (Https)" dir=in 
>> localport=5986 protocol=tcp action=allow enable=yes*
>>
>>
>>
>> I am recieving the below error 
>>
>>
>> fatal: [uat_cdxdb]: UNREACHABLE! => {
>>
>>     "changed": false, 
>>
>>     "msg": "ssl: HTTPSConnectionPool(host='10.1.116.151', port=5986): Max 
>> retries exceeded with url: /wsman (Caused by 
>> NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 
>> 0x108cfd450>: Failed to establish a new connection: [Errno 61] 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 ansible-proje...@googlegroups.com <javascript:>.
>> To post to this group, send email to ansible...@googlegroups.com 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/34216652-b054-4778-ac54-b52a80af1ff3%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/34216652-b054-4778-ac54-b52a80af1ff3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bea5e1be-1821-437c-8245-bcaca1a57242%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to