-
-
Notifications
You must be signed in to change notification settings - Fork 641
Human-readable Ansible diagnostic messages? #1655
Comments
Do you happen to have any before/after examples? |
Haven't got a suitable "after" to hand right here, but here's what was bugging me "before":
|
Could this just be a documentation thing? e.g. if you want to have easier to read debug output, download x and place it in y, then add line z to Drupal VM's |
Yes, a documentation thing, sure that would suffice. Trouble is I've tried all sorts of suggestions for
but none of the plugins seem to have any effect on the readability of something like:
where newlines are not interpreted (on MacOS Terminal anyway. And there again GitHub Markdown gives yet another slant!) |
When I was working on #1563 I noticed that the |
What’s the journey between @oxyc update and me doing |
See also: Use Ansible's YAML callback plugin for a better CLI experience—but note that would require Ansible 2.5.0+ and I'm not yet ready to bump from 2.4 to 2.5 as a minimum requirement :) I like @oxyc's PR, and have one follow-up docs question, but otherwise I'm happy to merge that in so we can get a little better Ansible output by default! |
I am closing issues more than 6 months old which are not approved feature requests or definitively reproducible bugs affecting most users of Drupal VM; if you feel like this is still a reproducible issue with Drupal VM or something that should still be worked on, please open a new issue in the Drupal VM issue queue. I am trying to clean up some older issues which were hard or impossible to reproduce and debug. Thank you! |
(But note that I may switch the callback plugin to YAML at some point, as I've been doing that on a number of projects. It just doesn't show debug output properly in all cases, so I've been cautious about switching it on.) |
Issue Type
Your Environment
Your OS
Summary
Human-readable Ansible diagnostics would make life a lot easier.
Debugging failing Ansible tasks is made much more difficult by unformatted (html strings) diagnostics which take a lot of deciphering.
For example, adding to
ansible.cfg
the following (according to ansible-human_log) should make life a lot easier.The text was updated successfully, but these errors were encountered: