Recovering stdout and stderr from sudo commands in async mode
11 views
Skip to first unread message
Jose Ángel De Bustos Pérez
unread,
Nov 12, 2015, 10:53:44 AM11/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
I have to run sudo commands in async mode and recover the stdout/stderr.
I have written a module to run sudo commands but I am not able to recover the stdout and stderr. All of this is done from a python script and in the json which is returned the file indicated in results_file is empty.
Any ideas/suggestions?
I am new to ansible so maybe there is a better way to do that.