About not Sending Emails from Crontab

To make sure that no emails are sent from your crontab, you have to set MAILTO="" environment variable in your crontab file.

With Ansible, this is the instruction to do that:

    - name: No email sending from crontab
      cronvar:
        name: MAILTO
        value: '""'

Tips and Tricks Dev Ops Ansible cron