Hi
I'm trying to write a PowerShell script which, in part, copies a file from 
a remote windows share (via UNC path) which I am calling from Ansible (with 
the "script" module) but I'm getting "The network path was not found" 
errors.  The path *does* exist and the Ansible user has read/write access...

I'm using Ansible 2.4.0.0 and letting it sort out the Kerberos ticket - I 
*think* I'm hitting the "2nd Hop" credential issue...

I've tried a couple of workarounds:

   - Use "become" with become_method: runas etc. but I'm struggling to get 
   the right syntax (any examples of "become" with Windows?)
   - Map a drive in the PowerShell script by explicitly supplying 
   credentials and then copying the file from that mapped drive

Any thoughts?

-- 
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/462c9cd7-883e-4267-8beb-11fc77cb7d65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to