I’ve setup an Ansible (v2.4) playbook that configures/checks for compliance with a list of (STIG-based) security checks. I have this playbook scheduled in cron to run weekly but I really want to get an e-mail reporting on the results of each playbook run. Is there something built into Ansible Core that will do this (we don’t have Ansible Tower), or do I need to manually put something together to do that? I can envision what a manual script would need to do, but I would rather use a built-in feature if one is available.
You have a callback plugin called mail[1], it only report failure so if you need more you would need to change it.
[1] https://docs.ansible.com/ansible/devel/plugins/callback/mail.html