Execution of shell module is giving "msg": "MODULE FAILURE", "parsed": false

Hi

I am trying to run a setup file on linux machine from shell command and also by creating a custom python module to run the setup file.
When it is run, it is failing with this error:

{“changed”: false, “failed”: true, “module_stderr”: “”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “parsed”: false}

Sometimes, samething works fine without any issues.

Can someone help me in resolving this issue.

Thanks
Deepa

Any help ? The command which we are running through shell is getting completed(I could see install of our product is happening), but ansible is not getting any response that it is completed. After sometime, it is failing with module failure error. Sometimes same playbook works fine.