fix(mailman): workaround for debian bug #1037358
This commit is contained in:
parent
f13f3b38f7
commit
f4116c9b5c
3 changed files with 22 additions and 1 deletions
|
@ -8,7 +8,7 @@ namespace: s3lph
|
|||
name: mailserver
|
||||
|
||||
# The version of the collection. Must be compatible with semantic versioning
|
||||
version: '0.3.6'
|
||||
version: '0.3.7'
|
||||
|
||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||
readme: README.md
|
||||
|
|
|
@ -43,3 +43,13 @@
|
|||
group: postfix
|
||||
mode: 0640
|
||||
notify: reload postfix
|
||||
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037358
|
||||
- name: disable gatenews cronjob
|
||||
ansible.builtin.lineinfile:
|
||||
file: /etc/cron.d/mailman3
|
||||
regexp: '^#(?/*/usr/bin/mailman gatenews.*)$'
|
||||
line: '#\1'
|
||||
when:
|
||||
- "ansible_facts.distribution == 'Debian'"
|
||||
- "ansible_facts.distribution_major_version | int > 11"
|
||||
|
|
|
@ -219,4 +219,15 @@ TEMPLATES = [
|
|||
},
|
||||
}
|
||||
]
|
||||
{% endif %}
|
||||
|
||||
{% if ansible_facts.distribution == 'Debian' and ansible_facts.distribution_major_version | int > 11 %}
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037358
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
Q_CLUSTER = {
|
||||
'retry': 900,
|
||||
'timeout': 300,
|
||||
'save_limit': 100,
|
||||
'orm': 'default',
|
||||
}
|
||||
{% endif %}
|
Loading…
Add table
Reference in a new issue