Recovering sdout/stderr from sudo commands in async mode

Hi,

I have to execute sudo commands in async mode and I need to recover stdout and stderr.

I have written a module to do that but I am not able to recover the stdout and stderr.

All of this is done using a python script and the file indicate in results_file is empty.

I am new with ansible and maybe the problem is that I not doing it in the right form.

Any ideas/suggestions?

Best regards,