Hello Jordan, Thanks for your advise.
But same batch file u can execute in the server and it's working. And also through powershell it's getting executed. On Wed, 26 Sep 2018, 03:36 Jordan Borean, <[email protected]> wrote: > The win_command module can be used to execute batch files without any > issues. If it is returning without any errors it sounds like the batch file > is failing silently and not informing you of what has gone wrong. You can > add some echo statements or create files to verify whether it is truly > running but I did some tests myself just now and it had no issues. > > -- > 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/9055a44f-4c8a-4d48-9041-7ebe5952e1a4%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/9055a44f-4c8a-4d48-9041-7ebe5952e1a4%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/CAFv5%2Ba25JD%2BV1NkvAN0Wc3sZEbjT5fimbG2DKJSy7px5CGy6Tg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
