[PATCH 0/9] Add Ansible DIY Callback support
Daniel Gomez <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
I've been experimenting with the Ansible stdout DIY Callback [1]. It combines the concise output style of dense stdout with the flexibility to include additional, useful context for the user, without requiring them to adjust verbosity levels. Task failures are reported with meaningful details pulled directly from stdout and stderr, presented in a human-readable format (rather than JSON/YAML, which isn't practical for humans to parse). Link: https://docs.ansible.com/ansible/latest/collections/community/general/diy_callback.html [1] Signed-off-by: Daniel Gomez <[email protected]> --- Daniel Gomez (9): ansible_cfg: add diy callback support guestfs: diy: print defined vm list base_image: diy: add callback support to custom virt-builder database display base_image: diy: add callback support to virt-customize tasks base_image: diy: print rolling distribution information bootlinux: diy: add callback support to core kernel tasks bootlinux: diy: add callback support to 9P build tasks blktests: diy: add callback support base_image: add custom image url info kconfigs/Kconfig.ansible_cfg | 12 ++++++++-- .../roles/ansible_cfg/templates/ansible.cfg.j2 | 27 ++++++++++++++++++++++ playbooks/roles/base_image/tasks/custom-image.yml | 14 ++++++++++- playbooks/roles/blktests/tasks/main.yml | 9 ++++++++ playbooks/roles/bootlinux/tasks/build/9p.yml | 24 +++++++++++++++++++ playbooks/roles/bootlinux/tasks/main.yml | 16 +++++++++++++ playbooks/roles/guestfs/tasks/bringup/main.yml | 2 ++ 7 files changed, 101 insertions(+), 3 deletions(-) --- base-commit: f2a0b3b97aea5e4586582cdc5947ec7406b9afb0 change-id: 20250915-add-diy-callback-support-d068e79b04b2 Best regards, -- Daniel Gomez <[email protected]>