ansible/test/integration/targets/callback_default
Sam Doran 7d18ea5e93
default callback - add "show_task_path_on_failure" option (#73260)
When running in verbosity <2, display the file and line number for tasks that fail. This provides
useful information without having to run at increased verbosity.

* Move _print_task_path to CallbackBase class
* Add integration tests
* Add color parameter to _print_task_path()

* Keep color output consistent for now
  Currently the path is display with COLOR_DEBUG formatting with verbosity >= 2.
  Instead of the color of the path changing based on verbosity level, just keep it at the
  currently behavior of COLOR_DEBUG. Having the color of the same information change
  based on verbosity level seems incorrect and makes visual parsing of the information
  more difficult.

Co-authored-by: tahar.jegham <jeghamseifeddine@gmail.com>
2021-02-09 12:43:59 -05:00
..
aliases
callback_default.out.check_markers_dry.stderr
callback_default.out.check_markers_dry.stdout
callback_default.out.check_markers_wet.stderr
callback_default.out.check_markers_wet.stdout
callback_default.out.check_nomarkers_dry.stderr
callback_default.out.check_nomarkers_dry.stdout
callback_default.out.check_nomarkers_wet.stderr
callback_default.out.check_nomarkers_wet.stdout
callback_default.out.default.stderr
callback_default.out.default.stdout
callback_default.out.display_path_on_failure.stderr default callback - add "show_task_path_on_failure" option (#73260) 2021-02-09 12:43:59 -05:00
callback_default.out.display_path_on_failure.stdout default callback - add "show_task_path_on_failure" option (#73260) 2021-02-09 12:43:59 -05:00
callback_default.out.failed_to_stderr.stderr
callback_default.out.failed_to_stderr.stdout
callback_default.out.free.stdout
callback_default.out.hide_ok.stderr
callback_default.out.hide_ok.stdout
callback_default.out.hide_skipped.stderr
callback_default.out.hide_skipped.stdout
callback_default.out.hide_skipped_ok.stderr
callback_default.out.hide_skipped_ok.stdout
callback_default.out.host_pinned.stdout
include_me.yml
inventory
no_implicit_meta_banners.yml
runme.sh default callback - add "show_task_path_on_failure" option (#73260) 2021-02-09 12:43:59 -05:00
test.yml
test_2.yml
test_dryrun.yml
test_non_lockstep.yml