Commit d55d3dc
committed
ansible: add lucid callback plugin for clean output
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 BitBake/Yocto build output. For CI/CD and piped contexts it
automatically falls back to static output. All runs generate
comprehensive logs in .ansible/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 is
shown for all tasks providing consistent performance visibility. Logs
always capture full verbosity independent of display settings ensuring
complete audit trails.
Verbosity levels control output progressively: no flags show only
changed/failed tasks with stdout/stderr, -v adds ok/skipped tasks plus
executed commands, -vv and -vvv enable tasks marked with higher
output_verbosity values.
Integrate lucid with kdevops Kconfig system providing output mode
selection (auto/static/dynamic). Add defconfig fragments for standard
use (lucid.config) and CI environments (lucid-ci.config). The CI
fragment enables static mode with verbosity level 1 for comprehensive
output suitable for build logs.
Add documentation covering requirements, parameters, verbosity levels,
status symbols, command display behavior, and CI/CD configuration.
Generated-by: Claude AI
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Gomez <[email protected]>1 parent 0023c18 commit d55d3dc
File tree
9 files changed
+1277
-1
lines changed- callback_plugins
- defconfigs/configs
- docs
- kconfigs
- playbooks/roles/ansible_cfg/templates
9 files changed
+1277
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
131 | 141 | | |
132 | 142 | | |
133 | 143 | | |
| |||
Whitespace-only changes.
0 commit comments