Update to 2021-03-01 09:00

master
Daniel Berteaud 3 years ago
parent 6ad55ee0a2
commit 273138f664
  1. 6
      roles/graylog/defaults/main.yml
  2. 3
      roles/graylog/tasks/conf.yml
  3. 8
      roles/graylog/templates/logrotate.conf.j2

@ -11,7 +11,11 @@ graylog_is_master: True
# Additional libs to download
graylog_libs: {}
graylog_plugins: []
graylog_plugins:
graylog-output-syslog:
version: 3.3.0
sha1: e18bc112cd3b5d5b07b69ed5e5c2e146dfd67677
url: https://github.com/wizecore/graylog2-output-syslog/releases/download/3.3.0/graylog-output-syslog-3.3.0.jar
# Plugins bundled, which should not be removed
graylog_plugins_core:

@ -28,3 +28,6 @@
- graylog_mongo_pass != False
tags: graylog
- name: Deploy logrotate configuration
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/graylog
tags: graylog

@ -0,0 +1,8 @@
{{ graylog_root_dir }}/logs/*.log {
daily
rotate 180
compress
notifempty
missingok
copytruncate
}
Loading…
Cancel
Save