Hi, I'm trying to remotely install visual studios. I've staged the installation file locally and able install if logged in with local admin account.
Failed attempt #1 win_command: c:\stage\vs_Enterprise.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --quiet become: yes become_method: runas become_user: <domain>\user vars: ansible_become: yes ansible_become_method: runas ansible_become_user: <domain>\user ansible_become_pass: <password> Failed attempt #2 on another remote computer, i use the invoke-command and pass the same credentials. invoke-command uses WinRM. Successful attempt #1 Like I mentioned, I'm able to install by locally logging in. Successful attempt #2 on another remote computer, i use enter-psession On both failed attempts, the visual studio creates a folder in the %temp% drive and then deletes it and the bootstrapper and setup process terminates. Visual studio will kickoff a bootstrap process, then another vs_setup_process, and then a bunch of windows installer process. I don't think these processes are getting the right permissions? Any ideas? Am I using "become" right? Sorry, first time using ansible. P.S. I really want to avoid psexec and installing an agent just to do an install -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.