I guess you might be able to get this to work by using win_psexec although I haven't tried.
Starting interactive programs like this isn't really what winrm is intended for (the 'rm' bit stands for 'remote management') and running interactive programs is sort of at the edge of machine management. What are you trying to achieve? If you just want to use IE to download something from a URL have a look at the win_get_url module which will do this in a way that fits well with the rest of ansible. Jon On Monday, December 18, 2017 at 1:33:33 PM UTC, [email protected] wrote: > > Hi there, > > I've tried: > > 1) script module - powershell script > 2) win_command module - start.exe > 3) starting iexplore.exe with url > > Nothing works. I guess the first command doesn't work because ansible uses > another user to start powershell. The logged in user must start the process. > > Anybody knows how to start ie url with ansible? > -- 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/dc2fdcb8-d2f4-419c-97ea-38886b42fb8c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
