[mailman] Disable cron mails for staging
It's spamming a lot lately as I'm working on new deployment, let's disable the mails for now. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
6d0370a0dc
commit
60dc16d7c9
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
||||||
# Replace "apache" by your webserver user ("www-data" on Debian systems) and
|
# Replace "apache" by your webserver user ("www-data" on Debian systems) and
|
||||||
# set the path to the Django project directory
|
# set the path to the Django project directory
|
||||||
|
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
MAILTO=""
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if ansible_hostname == 'mailman01' %}
|
{% if ansible_hostname == 'mailman01' %}
|
||||||
@hourly apache django-admin runjobs hourly --pythonpath {{ mailman_webui_confdir }} --settings settings
|
@hourly apache django-admin runjobs hourly --pythonpath {{ mailman_webui_confdir }} --settings settings
|
||||||
@daily apache django-admin runjobs daily --pythonpath {{ mailman_webui_confdir }} --settings settings
|
@daily apache django-admin runjobs daily --pythonpath {{ mailman_webui_confdir }} --settings settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue