ansbak coalesces ansible -m shell
output. If two machines return identical output, you only see it once. This is similar to dshbak
for pdsh or clush --dshbak
from clustershell.
Without ansbak:
$ ansible host1:host2 -m shell -a 'echo foo\\nbar'
host1 | success | rc=0 >>
foo
bar
host2 | success | rc=0 >>
foo
bar
With ansbak:
$ ansible host1:host2 -m shell -a 'echo foo\\nbar' | ansbak.py
['host1', 'host2'] | success | rc=0 >>
foo
bar
- Color-code output (like ansible already does) or document how to force ansible to print with color
- Group hostnames more intelligently, e.g., "host1-3" instead of "host1, host2, host3"