callback: Get handlers with json callback plugin (#35842)
callback: Get handlers with json callback plugin (#35842)

Implement the `v2_playbook_on_handler_task_start()' method in the json
callback plugin to correctly include handlers in the results.

This fixes a bug where the last task in the results returned by
json callback would be wrong if an unconditional handler was triggered,
since the result of that handler would overwrite the result of the last
task.

Signed-off-by: Alex Tsitsimpis <1b8f44362277c9fb28dd35253506776c099c0ae0@arrikto.com>
thaim/ansible,thaim/ansible