Display "shell" or "command" STDOUT/STDERR in real time as they execute

577 views
Skip to first unread message

johhue

unread,
Feb 2, 2016, 12:25:40 PM2/2/16
to Ansible Project, Ajay Mannepalli
Hello,

I have seen previous posts on this topic but wanted to ask again hoping this is something we are considering now ...

Problem:

When using Ansible to remotely execute command/shell commands, we cannot see the STDOUT/STDERR of these in-flight commands until the execution is COMPLETE.

Use Case:

We have 5-10 servers we sometimes need to execute custom vendor scripts. Consider these vendor script as "black box" but required to maintain the application.

Sometimes these scripts HANG and we need to control-c or kill them. Sometimes they execute DATABASE changes which take 10-15 minutes to complete.

We would like to have the OPTION to see the output of these remote commands as they run.

We are doing our formal POC of Ansible now and this is becoming a sticking point.

Thanks, John @ Folsom, CA






Brian Coca

unread,
Feb 2, 2016, 2:20:50 PM2/2/16
to Ansible Project, Ajay Mannepalli
that is what im experementing on adding in this branch
https://github.com/bcoca/ansible/tree/update_json
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/fb795b09-e4d6-4499-a575-8065b12404d9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages