I have a playbook that simply uses the script module to run a powershell 
script.

The powershell script merely copies some files then uses "Start-Process" to 
run a visual studio installer.
When run with ansible, the install does not work. Looking at the visual 
studio "logs" is not terribly helpful either as it seems every microsoft 
error is totally ambiguous (in addition to it creating like 10 log files 
with cryptic names.)
If I just run the script locally, everything works just fine.

How can I debug this further? I was under the impression ansible should 
just copy the script to the machine and run it using the user I have 
defined for it to use (which is an admin account and the only one on the 
machine.)
Where do I go from here?

-- 
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/17e4cd81-26c5-470b-b67c-24dad8612f26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to