Is there a way to make TASK: ... prompts print more information

15 views
Skip to first unread message

Behrang Saeedzadeh

unread,
Dec 3, 2014, 5:41:57 PM12/3/14
to ansible...@googlegroups.com
Hi,

At the moment, when we run a playbook, these headings look like this, for example:

PLAY [all] ******************************************************************** 

GATHERING FACTS *************************************************************** 

TASK: [Wait for CQ5 to be ready] **********************************************

Is there a way to make them print the host name of the machine they are executing on?



TASK: [Wait for CQ5 to be ready] [foo.domain.com] **************************



Thanks in advance,
Behrang

Brian Coca

unread,
Dec 3, 2014, 5:51:45 PM12/3/14
to ansible...@googlegroups.com
tasks print hosts they executed on (past), currently the callbacks
don't allow for that.
it should be easy to see with a ps as ssh should show which host it is
currently running at.

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