mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-15 17:53:09 +02:00
Update to 2022-02-22 19:00
This commit is contained in:
parent
4737fece2c
commit
6b0f3de36b
@ -52,3 +52,7 @@
|
|||||||
command: "{{ bookstack_root_dir }}/perms.sh"
|
command: "{{ bookstack_root_dir }}/perms.sh"
|
||||||
when: bookstack_perm_script.changed or bookstack_install_mode != 'none'
|
when: bookstack_perm_script.changed or bookstack_install_mode != 'none'
|
||||||
tags: bookstack
|
tags: bookstack
|
||||||
|
|
||||||
|
- name: Deploy logrotate conf
|
||||||
|
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/bookstack_{{ bookstack_id }}
|
||||||
|
tags: bookstack
|
||||||
|
7
roles/bookstack/templates/logrotate.conf.j2
Normal file
7
roles/bookstack/templates/logrotate.conf.j2
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{{ bookstack_root_dir }}/data/storage/logs/*.log {
|
||||||
|
daily
|
||||||
|
rotate 90
|
||||||
|
compress
|
||||||
|
missingok
|
||||||
|
su {{ bookstack_php_user }} {{ bookstack_php_user }}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user