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.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bf42bfe8-d20b-4982-bace-11c784d6e53c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to