On lørdag 11. november 2017 19.22.33 CET Jon Adcock wrote:
> 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


-- 
Kai Stian Olstad

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/22912775.HNtcr56QxT%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to