The error message is somehow different than what it originally was, but the 
output I'm getting from -vvvv (Jean posted on my behalf) is still similar 
which is the following:

TASK [win_get_url] 
***************************************************************************************************
task path: /mnt/c/path/to/playbook/playbook.yml:15
Using module file 
/home/xxxx/.local/lib/python2.7/site-packages/ansible/modules/windows/win_get_url.ps1
<xxx.xxx.x.x> ESTABLISH WINRM CONNECTION FOR USER: xxxx on PORT yyyy TO 
xxx.xxx.x.x
EXEC (via pipeline wrapper)



On Friday, November 17, 2017 at 4:37:04 PM UTC+7, Mike Fennemore wrote:
>
> if you run the same playbook with win_get_url but with -vvvv what is the 
> output?
>
> On Friday, November 17, 2017 at 8:59:32 AM UTC+1, Jean Jordaan wrote:
>>
>> Hi all
>>
>> We're trying to get a file from a server in a playbook:
>>
>>     - win_get_url:
>>        url: https://some.domain.com/test.txt
>>        dest: D:\test.txt
>>        url_username: xxxxx
>>        url_password: xxxxx
>>        skip_certificate_validation: yes
>>        validate_certs: no
>>        use_proxy: no
>>        force: yes
>>
>> This fails with the failure *SSLHandshake: Unsupported curveid: 29*
>> We changed to the following, and now it works:
>>
>>   - name: Get release
>>      win_shell: |
>>           $headers = @{}
>>           $headers.Add("Authorization", "Basic redacted")
>>           Invoke-WebRequest -Uri "https://some.domain.com/test.txt"; -
>> Headers $headers -OutFile "test.txt"
>>
>>
>> Where is *win_get_url* losing the plot?
>>
>> Regards,
>> Jean
>>
>

-- 
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/295cd406-e2f9-4783-808e-537c977ad6ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to