forked from infra/ansible
mail: don't apply logrotate settings
This commit is contained in:
parent
d96e3f20ec
commit
3f920c731d
@ -1,12 +0,0 @@
|
||||
/var/log/dovecot/*.log {
|
||||
weekly
|
||||
rotate 4
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
doveadm log reopen
|
||||
endscript
|
||||
}
|
@ -91,9 +91,6 @@
|
||||
- learn-spam.sh
|
||||
- learn-ham.sh
|
||||
|
||||
- name: Configure logrotate for dovecot
|
||||
copy: src=logrotate.d/dovecot dest=/etc/logrotate.d/dovecot
|
||||
|
||||
- name: Ensure dovecot certificates are available
|
||||
command: openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/dovecot/ssl/{{ mail_server }}.key -out /etc/dovecot/ssl/{{ mail_server }}.crt -days 730 -subj "/CN={{ mail_server }}" creates=/etc/dovecot/ssl/{{ mail_server }}.crt
|
||||
notify: Restart dovecot
|
||||
|
Loading…
Reference in New Issue
Block a user