mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
Feat: Add callback plugin print_task (#10087)
* Feat: Add callback plugin print_task Prints task snippet to job output. * Fix for failing tests * Fix some pep8 formatting issues * Updating DOCUMENTATION variable with version_added * Set correct CALLBACK_NAME and fix warning with gather_facts * Fix formatting again * Update plugins/callback/print_task.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/callback/print_task.py Co-authored-by: Felix Fontein <felix@fontein.de> * Add entry to BOTMETA.yml * Use CSafeLoader and fallback to SafeLoader * Change output function to self._display.display() * Adding tests for community.general.print_task * Adding EXAMPLES * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
3daa1dec0c
commit
b861850e1a
4 changed files with 204 additions and 0 deletions
2
.github/BOTMETA.yml
vendored
2
.github/BOTMETA.yml
vendored
|
|
@ -77,6 +77,8 @@ files:
|
|||
$callbacks/opentelemetry.py:
|
||||
keywords: opentelemetry observability
|
||||
maintainers: v1v
|
||||
$callbacks/print_task.py:
|
||||
maintainers: demonpig
|
||||
$callbacks/say.py:
|
||||
keywords: brew cask darwin homebrew macosx macports osx
|
||||
labels: macos say
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue