A custom callback can do it, see the existing email one as example https://docs.ansible.com/ansible/latest/collections/community/general/mail_callback.html
-- ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7e%3DNjSF_-vLDBmvYrGRc-7X6GmQ2JiU_d5A0W-zySvHQg%40mail.gmail.com.
