win_get_url was originally implemented to only support http://, though I'm
a bit surprised it doesn't do a bit more.

http://docs.ansible.com/win_get_url_module.html

We should note this in the docs, or better, upgrade it to support network
resources as well.

https://github.com/ansible/ansible/blob/devel/library/windows/win_get_url.ps1

So it's using Powershell DownloadFile here:

http://msdn.microsoft.com/en-us/library/ez801hhe(v=vs.110).aspx

Thoughts?

I'll clearly admit to mostly be, ahem, orchestrating, the development of
modules in this space :)





On Mon, Aug 11, 2014 at 11:35 AM, Gopinath Suryadevara <
[email protected]> wrote:

> Hi,
>
> I was able to connect to a windows 7 box from a RHEL 5, ping it and also
> changed the authentication to kerberos. Thank you, @Trond for the wonderful
> script. Both the machines are on the same domain. When I use the
> win_get_url module to copy a file from a network share, it fails. I turned
> on the traces, got hold of the scripts on the remote win machine using
> ANSIBLE_KEEP_FILES=1. When i execute the script on remote win machine using
> the arguments file created by ansible, it executes successfully and copies
> the file from a network share. But the script fails when run via ansible.
> Even when i map the network share and try to use the assigned drive letter,
> the script fails when executed from the ansible linux controller.
>
> Any help on this is appreciated!!
>
> --
> 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/5d68d0ff-6d91-456c-b492-93f9545e8e6c%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/5d68d0ff-6d91-456c-b492-93f9545e8e6c%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/CA%2BnsWgwKq5OKOVYRZ44T7CdqjwQgn5BNj%3Djby7wRqY%2B89chbyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to