Live command logs

139 views
Skip to first unread message

SVC RVBRAND

unread,
Jun 2, 2015, 8:26:36 AM6/2/15
to ansible...@googlegroups.com
Hi All,

I am new to ansible and my first task is to prove this tool can help my team.
I migrated some of our Capistrano recipes to ansible playbooks as a POC.
Ansible works wonderfully but the issue I am facing now is I cannot get
the live output message of any command even running locally, the output
message is crucial in our environment.

I have no issue with Capistrano recipes to show the live logs from different tasks
running on different servers.

Am I missing something ?, is there any option to change the default behavior of
the playbook run regarding this issue.

Note:
I need live log of the command, not a printed log message after a 3 hours command run.
I am also willing to apply any patch to ansible if there is one that solves this issue for us.

Thank you All.

Brian Coca

unread,
Jun 2, 2015, 10:20:27 AM6/2/15
to ansible...@googlegroups.com
ansible is designed to be a batch system so showing live logs is not
something that is built in, ansible returns the logs of the work after
it has finished.

Async tasks can be created but you can only poll the state of the task
and not it's output.

--
Brian Coca

SVC RVBRAND

unread,
Jun 10, 2015, 2:36:34 PM6/10/15
to ansible...@googlegroups.com
Thank you Brian, then this is a showstopper for us, we cannot
using this tool in our environment.

SVC RVBRAND

unread,
Jun 10, 2015, 2:38:15 PM6/10/15
to ansible...@googlegroups.com
Thank you Brian, then this is a showstopper for us, we cannot
use this tool in our environment.

Reply all
Reply to author
Forward
0 new messages