Working on a playbook, using the following windows modules:  
win_mapped_drive and win_robocopy.
I have been using net use commands since the late 80's with 3Com Lan 
Manager, so I know what I am doing and I can do what I want at the command 
line.

win_mapped_drive x:
block of stuff

win_mapped_drive z:
block of stuff

win_robocopy
block of stuff

I am running this in AWX, and I see that when it does the first module it 
makes the connection and does it
Then it makes a connection and does the second mapped drive
Then it makes a connection and errors out at the robocopy, saying that x: 
does not exist.

I tried making it persistent with become, runas, SYSTEM.  Then I get a 
permission issue with win_robocopy module and I had to go into the registry 
and kill the mapped drives.

I think it is "logging off" after every task, is there a way to make a 
single connection and keep the same connection for the entire playbook?

Thank you

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c948610e-c5aa-4b8c-bef0-d1840c8521cen%40googlegroups.com.

Reply via email to