The notifications cron job can be disabled.
This commit is contained in:
parent
39bf5db940
commit
8320fdac83
|
@ -34,7 +34,8 @@ mailman_custom_templates:
|
||||||
- 'it/list:user:notice:probe.txt'
|
- 'it/list:user:notice:probe.txt'
|
||||||
- 'it/list:user:notice:welcome.txt'
|
- 'it/list:user:notice:welcome.txt'
|
||||||
|
|
||||||
# Documentation that must be followed to configure the social auth providers
|
mailman_enable_daily_notifications: true
|
||||||
|
# Documentation that must be followed to configure the social auth providers
|
||||||
# https://django-allauth.readthedocs.io/en/latest/installation.html
|
# https://django-allauth.readthedocs.io/en/latest/installation.html
|
||||||
mailman_use_social_account_providers: False
|
mailman_use_social_account_providers: False
|
||||||
mailman_postorius_social_auth_providers:
|
mailman_postorius_social_auth_providers:
|
||||||
|
|
|
@ -111,6 +111,7 @@
|
||||||
|
|
||||||
|
|
||||||
- name: Add the maintenance cron jobs
|
- name: Add the maintenance cron jobs
|
||||||
|
tags: ['mailman', 'mailman_conf', 'mailman_cron']
|
||||||
block:
|
block:
|
||||||
- name: Add a daily cron job that sends digests
|
- name: Add a daily cron job that sends digests
|
||||||
cron:
|
cron:
|
||||||
|
@ -129,9 +130,7 @@
|
||||||
user: '{{ mailman_user }}'
|
user: '{{ mailman_user }}'
|
||||||
name: "Mailman notifications"
|
name: "Mailman notifications"
|
||||||
cron_file: 'mailman-notifications'
|
cron_file: 'mailman-notifications'
|
||||||
state: present
|
state: "{% if mailman_enable_daily_notifications %}present{% else %}absent{% endif %}"
|
||||||
|
|
||||||
tags: [ 'mailman', 'mailman_conf', 'mailman_cron' ]
|
|
||||||
|
|
||||||
- name: Install some default templates
|
- name: Install some default templates
|
||||||
block:
|
block:
|
||||||
|
|
Loading…
Reference in New Issue