callback plugin
A plugin that reacts to events during a run; the stdout callback decides how results are printed in the terminal.
In more detail
stdout_callback = default gives the familiar banner-and-recap output. Other callbacks print more compact output, JSON for machines, or timing per task. Only one callback controls terminal output at a time.
Example
stdout_callback = defaultRelated terms
- plugin — An add-on package that extends a tool with extra features without changing the tool itself.
- ansible.cfg — Ansible's INI-format settings file; a copy in the project directory sets options such as the inventory location and forks for everyone who runs there.
- play recap — The summary at the end of a playbook run with one line per host counting tasks that were ok, changed, unreachable, failed, skipped, rescued and ignored.
Taught in
- Performance, Forks And Best Practices — Ansible Configuration Management at Scale