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 Rebalance CI groups to avoid macOS timeouts (#70126) 2020-06-19 16:40:51 -04:00
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 Remove incidental_xml integration tests (#71917) 2020-09-29 08:39:44 -05:00
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 Fix incorrect msg in the results dict in loops (#71482) 2020-08-27 15:49:53 -04:00
callback_default.out.failed_to_stderr.stdout Remove incidental_xml integration tests (#71917) 2020-09-29 08:39:44 -05:00
callback_default.out.free.stdout Make non-lockstep callback tests more deterministic (#73511) 2021-02-05 14:11:40 -06:00
callback_default.out.hide_ok.stderr
callback_default.out.hide_ok.stdout Remove incidental_xml integration tests (#71917) 2020-09-29 08:39:44 -05:00
callback_default.out.hide_skipped.stderr
callback_default.out.hide_skipped.stdout Remove incidental_xml integration tests (#71917) 2020-09-29 08:39:44 -05:00
callback_default.out.hide_skipped_ok.stderr
callback_default.out.hide_skipped_ok.stdout Remove incidental_xml integration tests (#71917) 2020-09-29 08:39:44 -05:00
callback_default.out.host_pinned.stdout Make non-lockstep callback tests more deterministic (#73511) 2021-02-05 14:11:40 -06:00
include_me.yml Fix label lookup in the default callback for includes (#68822) 2020-04-09 13:27:58 -05:00
inventory Make non-lockstep callback tests more deterministic (#73511) 2021-02-05 14:11:40 -06:00
no_implicit_meta_banners.yml Make noop tasks implicit (#71344) 2020-08-19 13:10:54 -05:00
runme.sh default callback - add "show_task_path_on_failure" option (#73260) 2021-02-09 12:43:59 -05:00
test.yml Remove incidental_xml integration tests (#71917) 2020-09-29 08:39:44 -05:00
test_2.yml
test_dryrun.yml [default callback] Show include_tasks task banner (#71821) 2020-09-22 11:40:12 -04:00
test_non_lockstep.yml Make non-lockstep callback tests more deterministic (#73511) 2021-02-05 14:11:40 -06:00