- 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
- 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"
TASK [win_get_url] ***************************************************************************************************
task path: /mnt/c/path/to/playbook/playbook.yml:15Using 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.xEXEC (via pipeline wrapper)--
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 ansible-project+unsubscribe@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/ec434c0a-ce14-4e9f-b5af-d709e5d522c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.