Is there any way, during the execution of a playbook, to access the current failure count? The final failure count is displayed in the PLAY RECAP section of the log output:
Currently yes. I’m not opposed to the callback system being modified to keep these kind of counts, however, though I believe currently callback plugins do live in fork memory, thus it might not be possible.