hmm: ansible win -i hosts -m raw -a "start-process powershell" seems to work fine for me (though not sure what purpose that would serve, since the process will get nuked when the winrm connection closes).
What is it you're trying to accomplish? On Tuesday, May 3, 2016 at 9:17:20 AM UTC-7, ja...@3scan.com wrote: > > I recently started using Ansible to control Windows and I'm have some > trouble with the StartProcess command. > > On a regular Powershell terminal I can open a new shell with this command: > StartProcess powershell > > However this task in Ansible does not have that result: > - name: Start powershell > raw: 'StartProcess powershell' > > Is Ansible incapable of spawning new windows in this way? > -- 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 post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/83e1f74a-60a5-40f5-a53a-ccca8bda799c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.