ansible/test
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
..
ansible_test
integration default callback - add "show_task_path_on_failure" option (#73260) 2021-02-09 12:43:59 -05:00
lib/ansible_test Temporary fix for cryptography issues. (#73530) 2021-02-08 14:35:00 -08:00
sanity Temporary fix for cryptography issues. (#73530) 2021-02-08 14:35:00 -08:00
support Various intentional tests (#72485) 2020-11-06 08:41:41 -06:00
units galaxy - add format options for collection list (#73474) 2021-02-05 13:24:59 -05:00
utils/shippable [devel] Azure Pipelines configuration. 2020-12-02 13:40:01 -08:00