ansible_stdout_compact_logger icon indicating copy to clipboard operation
ansible_stdout_compact_logger copied to clipboard

When mutliple hosts execute a task, put each on own line

Open memelet opened this issue 7 years ago • 2 comments

rather than

[17:16:42] Create ca cert directory | 10.0.197.195 | SUCCESS | 765ms
10.0.198.55 | SUCCESS | 766ms
10.0.196.132 | SUCCESS | 885ms

It might be easier to read if it where

[17:16:42] Create ca cert directory
10.0.197.195 | SUCCESS | 765ms
10.0.198.55  | SUCCESS | 766ms
10.0.196.132 | SUCCESS | 885ms

(at least I find it much easier to read)

Otherwise, maybe, if all succeeded, something like

[17:16:42] Create ca cert directory | 10.0.197.195, 10.0.198.55, 10.0.196.132 | SUCCESS | 765ms

But of course this would scale well to lost of hosts. And where to put the timings?

memelet avatar Dec 18 '18 01:12 memelet

Hi, I have the same request, if multiple hosts this is not easy readable. Thanks

pierrehenrymuller avatar Jan 22 '19 14:01 pierrehenrymuller

Hello,

I'm expecting the same

Regards

hkienlen avatar Aug 04 '20 14:08 hkienlen

I have implemented a change that also applies to all executions, even with a single host. To make this better, I would have to rewrite most of the code to make it slightly buffered.

octplane avatar Mar 05 '23 21:03 octplane

image

octplane avatar Mar 05 '23 21:03 octplane