Recovering sdout/stderr from sudo commands in async mode

6 views
Skip to first unread message

Jose Ángel De Bustos Pérez

unread,
Nov 12, 2015, 10:53:44 AM11/12/15
to Ansible Project
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,
Reply all
Reply to author
Forward
0 new messages