Hi all,

Has anyone had any luck using the new in 2.3 feature of win_copy 
(remote_src) to copy files to/from a mapped network drive?  

essentially I'm trying to do this:

- name: copy from share
      win_copy:
        src: w:\foo
        dest: c:\
        remote_src: True

and I get a message saying the src path doesn't exist. I tried using a UNC 
path instead of the drive letter also.

The way I've been getting around this is to use a bat file that maps the 
drive and then does the copy, but I'd like to be able to do it with only 
the playbook and no bat file.

Thanks for any input!

-- 
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/51fc9673-3cba-46e1-a17f-015922ce8f8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to