Thanks for the answer. I tried: - win_psexec - win_command - script - win_shell
Nothing worked so decided not to have this feature. I am provisioning a new vm in vsphere for development testing purposes which installs specific versions of java, tomcat and in-house application and in the end wanted to open up IE showing the webapplication. Den fredag den 22. december 2017 kl. 10.50.36 UTC+1 skrev J Hawkesworth: > > 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/2ab01024-8184-4a17-8b28-7732e63a3d10%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
