Update to 2020-12-06 18:00

master
Daniel Berteaud 4 years ago
parent a305afeb52
commit 4a3a9b3505
  1. 4
      roles/seafile/tasks/conf.yml
  2. 1
      roles/seafile/tasks/install.yml
  3. 7
      roles/seafile/templates/logrotate.conf.j2

@ -43,3 +43,7 @@
template: src=admin.txt.j2 dest={{ seafile_root_dir }}/conf/admin.txt group={{ seafile_group }} mode=640 template: src=admin.txt.j2 dest={{ seafile_root_dir }}/conf/admin.txt group={{ seafile_group }} mode=640
when: seafile_install_mode == 'install' when: seafile_install_mode == 'install'
tags: seafile tags: seafile
- name: Deploy logrotate configuration
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/seafile
tags: seafile

@ -283,3 +283,4 @@
cron_file: seafile_gc cron_file: seafile_gc
state: present state: present
tags: seafile tags: seafile

@ -0,0 +1,7 @@
{{ seafile_root_dir }}/logs/*.log {
weekly
rotate 52
compress
missingok
copytruncate
}
Loading…
Cancel
Save