Re: [PATCH] ansible: add lucid callback plugin for clean output

Luis Chamberlain <[email protected]> Mon, 24 Nov 2025 16:07:47 -0800
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
On Fri, Nov 21, 2025 at 08:44:59PM +0100, Daniel Gomez wrote:
> From: Daniel Gomez <[email protected]>
> 
> Add the lucid callback plugin to provide clean, minimal Ansible output
> for kdevops workflows. Current Ansible output is verbose by default
> making it difficult to see what matters during long-running test
> operations. Lucid solves this by showing only changes and errors at
> default verbosity while providing progressive detail at higher levels.
> 
> The plugin includes dynamic mode with live updates for interactive
> terminals showing running tasks with spinners and elapsed time similar
> to build system output. For CI/CD and piped contexts it automatically
> falls back to static output. All runs generate comprehensive logs with
> playbook names and timestamps allowing multiple executions to coexist
> without conflicts.
> 
> Task-level output control is available via the output_verbosity variable
> allowing playbooks to specify per-task visibility. Execution time
> tracking highlights slow tasks exceeding configurable thresholds. Logs
> always capture full verbosity independent of display settings ensuring
> complete audit trails.
> 
> Integrate lucid with kdevops Kconfig system providing options for
> time threshold, timestamp format, output mode (auto/static/dynamic),
> and log behavior. Add defconfig fragment for quick enablement. Update
> ansible.cfg template to generate callback configuration when selected.
> Make lucid the default callback for new configurations.
> 
> Add documentation following Ansible's standard format covering
> requirements, parameters, usage examples, and behavior notes.
> 
> Generated-by: Claude AI

> Signed-off-by: Daniel Gomez <[email protected]>

I saw the demo and am sold please yes!

  Luis