Re: [ansible-project] Re: copy file from remote windows server to local machine?

2016-02-22 Thread Jason Levitt
I forgot that it was mentioned in the docs. Maybe there should be an "alias" page in the list of "Windows" modules. Thanks! J On Mon, Feb 22, 2016 at 2:57 AM, 'J Hawkesworth' via Ansible Project wrote: > I may be missing the point here but is the fetch module

[ansible-project] Re: copy file from remote windows server to local machine?

2016-02-22 Thread 'J Hawkesworth' via Ansible Project
I may be missing the point here but is the fetch module what you need? Fetch works against windows hosts and linux hosts. Plenty of examples in the integration tests here: https://github.com/ansible/ansible/blob/devel/test/integration/roles/test_win_fetch/tasks/main.yml Hope this helps, Jon

[ansible-project] Re: copy file from remote windows server to local machine?

2016-02-21 Thread Slim Slam
Anyone know what the destination format would be in Powershell to target the local desktop? J On Saturday, February 20, 2016 at 12:18:09 AM UTC-6, Slim Slam wrote: > > More relevant discussion: > http://stackoverflow.com/questions/10741609/copy-file-remotely-with-powershell > > On Friday,

[ansible-project] Re: copy file from remote windows server to local machine?

2016-02-19 Thread Slim Slam
More relevant discussion: http://stackoverflow.com/questions/10741609/copy-file-remotely-with-powershell On Friday, February 19, 2016 at 1:51:00 PM UTC-6, Slim Slam wrote: > > I think this will work but I'd have to know how to specify the destination > location (my Mac laptop) in a way > that

[ansible-project] Re: copy file from remote windows server to local machine?

2016-02-19 Thread Slim Slam
I think this will work but I'd have to know how to specify the destination location (my Mac laptop) in a way that makes sense to Powershell Remoting. I have no clue how to do that. The very last answer to this stackoverflow demonstrates the methodology. Any Windows/PS pros in the house?

[ansible-project] Re: copy file from remote windows server to local machine?

2016-02-17 Thread Gerald Spencer
Line 85 in the win_copy module is the chunk that actually copies the file from the local to remote. Perhaps try executing a raw command to test it out? Something along the