Hello,

Im unable to copy the files from the windows host to network path. 
Initially  I tried to copy the files using NTLM authentication method and 
got the error as "Access denied".  After using the Kerberos authentication 
method im able to copy the files successfully to the network path.

After that the playbook is executing successfully but unable to copy the 
files. Not getting any error but files are not copying.

The following is the playbook, Can any one help please on this?

---- name: Copying files to Networkpath
  hosts: '{{ remote_host }}'
  tasks:
  - name: Copying
    win_copy: 

      dest: "//Network//path//to//copy//"

       src: "G://mydata//sample//"

       remote_src: yes

       become_method: runas

       become_user: SYSTEM


Output: ok=2 changed=0 unreachable=0 failed=0



-- 
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 ansible-project+unsubscr...@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/cd9bc6ba-5b07-4fd1-b63e-ef85d1363945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to