Having a file server mounted on lots of windows client pcs is a common 
pattern in windows shops but I decided to use a web server and make the 
windows client machines collect the apps they need using win_get_url 
module.  
Hope this helps,
Jon


On Tuesday, January 14, 2020 at 1:57:40 PM UTC, Pjotr Banas wrote:
>
> Hello experts, 
>
> I was trying to reach Jordan on his blog: 
> http://www.bloggingforlogging.com/2018/11/22/windows-mapped-drives-what-the-hell-is-going-on/#comment-178
>  ,but 
> I see that comments are closed, so maybe here someone can help me with my 
> issue:
>
>
> I've read article from the blog and I've tried to understand it, but I'm 
> still confued. Probably due to low level of win knowledge...
> Could you try to help me and try to answer to my questions in simple 
> words(?)
>
> My scenario: I've several dozen win VMs deployed for my team, we thought 
> that the good idea is to use Ansible to confiure and customize them for our 
> purposes inlcuding network drive mapping (later using it as a repo with 
> apps/scripts which we want to install/use on VMs using Ansible). VMs are 
> deployed by internal network team and what we get is a clean windows VM 
> with domain username and pass. Mapped drive should be visible for mentioned 
> domain user after logon to VM using RDP. Ansible has been instaled and 
> configure succesfully - connection with VMs working well. Due to some 
> 'probably' security policy and network configuration only one way of auth 
> option was to use NTLM.
>
> Of course, it's possible to map network drive on every VM using RDP with 
> mentioned domain user.
>
> --- Network drive ---
>
> \\bellagio.intra.vegas.net\how\the\hell\to\solve\this\issue
>
> --- Ansible hosts ---
>
> [winhost]
> 99.88.77.66
> 99.88.77.65
>
> [winhost:vars]
> ansible_user=el...@intra.vegas.net <javascript:>
> ansible_password=elvis123
> ansible_connection=winrm
> ansible_winrm_transport=ntlm
> ansible_winrm_message_encryption=always
> ansible_winrm_server_cert_validation=ignore
>
> Is it possible:
> 1) to use Ansible to map this network drive automatically in all VMs for 
> the domain user (mapped drive should be visible after VM reboots, during 
> every RDP sessions using this credentials?
>
> 2) to use this mapped drive as a 'repo place' for future purposes - to 
> copy scrips, apps from this drive to VMs using Ansible?
>
> Best regards, Peter 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/69e98077-66e3-4cdd-9a52-9f464cdfeb59%40googlegroups.com.

Reply via email to