Callbacks are places in Ansible execution that can be plugged into for added functionality. There are expected callback points that can be registered against to trigger custom actions at those points. Here is a list of possible points to trigger functionality at the time of writing:
- v2_on_any
- v2_runner_on_failed
- v2_runner_on_ok
- v2_runner_on_skipped
- v2_runner_on_unreachable
- v2_runner_on_no_hosts
- v2_runner_on_async_poll
- v2_runner_on_async_ok
- v2_runner_on_async_failed
- v2_runner_on_file_diff
- v2_playbook_on_start
- v2_playbook_on_notify
- v2_playbook_on_no_hosts_matched
- v2_playbook_on_no_hosts_remaining
- v2_playbook_on_task_start
- v2_playbook_on_cleanup_task_start
- v2_playbook_on_handler_task_start
- v2_playbook_on_vars_prompt
- v2_playbook_on_setup ...