Thanks for the info. I look into it.
On Friday, June 28, 2019 at 12:18:07 AM UTC+5:30, Angel Rengifo Cancino wrote: > > May the expect module be useful for you? > > On Wed, Jun 26, 2019 at 11:32 PM sindhu shree <[email protected] > <javascript:>> wrote: > >> Hi All, >> I need help in executing batch file which has some prompts. >> Am using following lines of script >> >> - name: run an executable with custom working dir >> win_command: pisrvstop.bat /argument1 "/argument 2 with space" >> args: >> chdir: F:\Program Files\PI\adm >> async: 120 >> poll: 5 >> >> >> it works fine but it will not answer for the prompts. How do i set the >> answers for prompt? >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/3e4238f5-b9c5-4bb5-bada-0c8e90de8ed1%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/3e4238f5-b9c5-4bb5-bada-0c8e90de8ed1%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/30b6512c-176f-4a9e-9cdd-a48e9378f04a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
