logging config

This commit is contained in:
Philip (a-0) 2023-01-23 17:07:58 +01:00
parent 3ad0db6973
commit 62687973fc
3 changed files with 22 additions and 2 deletions

View file

@ -67,6 +67,13 @@
shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install --batch ingest-attachment"
- name: Set elasticsearch logrotate config
template:
src: elasticsearch-logrotate.j2
dest: /etc/logrotate.d/elasticsearch
owner: root
group: root
- name: Restart elasticsearch
service:
name: elasticsearch
@ -74,7 +81,7 @@
enabled: yes
daemon_reload: yes
- name: Set live-index serice file
- name: Set live-index service file
template:
src: nextcloud-fulltextsearch-live-index.service.j2
dest: /etc/systemd/system/nextcloud-fulltextsearch-live-index.service