[PATCH 14/26] lucid: add author metadata and doc fragments

Daniel Gomez <[email protected]> Tue, 19 May 2026 15:28:11 +0200
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
From: Daniel Gomez <[email protected]>

The default and result_format doc fragments are the canonical option
declaration set for stdout callbacks, and extending them lets lucid
inherit the uniform user-facing knobs (display_ok_hosts,
display_skipped_hosts, display_failed_stderr, check_mode_markers,
show_custom_stats, show_task_path_on_failure, result_format,
pretty_results, result_yaml_line_width, result_indentation) without
redeclaring any of them. The existing output_mode option remains in
place because the fragments extend rather than replace the options
block.

Adding the author key lets ansible-doc -t callback lucid render proper
attribution. The previous top-level version_added of "2.10" was
aspirational: lucid is brand-new to kdevops and is not bundled with any
Ansible core release, so the key is removed to avoid misleading users
reading the generated docs.

Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>
---
 callback_plugins/lucid.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/callback_plugins/lucid.py b/callback_plugins/lucid.py
index 79f07ea0..fca93246 100644
--- a/callback_plugins/lucid.py
+++ b/callback_plugins/lucid.py
@@ -30,7 +30,6 @@ DOCUMENTATION = """
     name: lucid
     type: stdout
     short_description: Clean, minimal Ansible output with dynamic display
-    version_added: "2.10"
     description:
         - Provides clean, minimal output by default
         - Progressive verbosity levels (-v, -vv, -vvv)
@@ -38,6 +37,11 @@ DOCUMENTATION = """
         - Comprehensive logging independent of display verbosity
         - Dynamic live display for interactive terminals
         - Static output for CI/CD environments
+    author:
+        - Daniel Gomez (@dagmcr) <[email protected]>
+    extends_documentation_fragment:
+        - default_callback
+        - result_format_callback
     requirements:
         - Ansible 2.10+
         - Python 3.8+

-- 
2.53.0