ansible/lib/ansible/plugins
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
..
action pause - adjust warning when run in background (#73182) 2021-01-14 09:35:39 -05:00
become Fix various sanity errors in plugins (#71736) 2020-10-06 12:37:16 -04:00
cache Fix warning for nonexistent inventory cache (#72840) 2021-02-01 14:29:36 -05:00
callback default callback - add "show_task_path_on_failure" option (#73260) 2021-02-09 12:43:59 -05:00
cliconf
connection bugfix: use to_text(stdout) in psrp.Connection.put_file method (#73491) 2021-02-05 10:01:07 +10:00
doc_fragments default callback - add "show_task_path_on_failure" option (#73260) 2021-02-09 12:43:59 -05:00
filter Add new split filter (#73532) 2021-02-09 10:37:15 -05:00
httpapi
inventory Fix regression introduced in b77abd0491 causing bug in inventory modu… (#73429) 2021-02-04 17:25:08 -05:00
lookup Fix example with the backwards counting in the sequence lookup plugin. (#73081) 2021-01-07 16:34:05 -06:00
netconf Fix netconf validate capability check (#71195) 2020-08-12 09:17:54 +05:30
shell Fix various sanity errors in plugins (#71736) 2020-10-06 12:37:16 -04:00
strategy Consolidate filters/tests handling into JinjaPluginIntercept (#71463) 2021-01-21 11:22:33 +01:00
terminal
test Add semver support to the jinja2 version test (#71600) 2020-09-08 08:52:27 -05:00
vars Fix various sanity errors in plugins (#71736) 2020-10-06 12:37:16 -04:00
__init__.py
loader.py Always mention the name of the deprecated plugin in routing deprecation messages (#73059) 2021-01-14 17:45:02 +01:00