Yes, using WSL. On 17 Nov 2017 7:31 p.m., "Mike Fennemore" <[email protected]> wrote:
> Are you running Ansible from Bash on Ubuntu on Windows? > > On Friday, November 17, 2017 at 12:58:17 PM UTC+1, > [email protected] wrote: >> >> 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 a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/ansible-project/rhqmAtAnHMI/unsubscribe. > To unsubscribe from this group and all its topics, 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/ec434c0a-ce14-4e9f-b5af-d709e5d522c6%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/ec434c0a-ce14-4e9f-b5af-d709e5d522c6%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 [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/CAJqnznDPLWtgcyhUb9PBPgWNDLQuM4ajQ2xUJ%3DHG_2eCixy4zA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
