Hi,
Is there any particular reason why ansible playbook verbose output is jsonified by default?
Whenever I set --verbose, the intention is for human to check that output and the default json dump is not readable specially when stdout/stderr contains lots of linefeeds.
Wouldn’t it be better if the default verbose output is formatted in an easier to read format? perhaps one field per line, with multi-line stdout/stderr.
I understand that it’s possible to debug the output_lines, but it clutters the playbooks when all tasks need register and debug fields.
Another option is to use callback plugin, but this means that everyone who wants to have readable verbose output will have to do the same thing with the plugin. Isn’t it better to have human-readable verbose output by default?
Cheers,
Cliff.