From dfef55d05f77d5608347639d951a564a0fef4866 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 12 Aug 2024 13:22:41 +0200 Subject: [PATCH] l --- roles/mgrote_munin_server/tasks/main.yml | 5 -- roles/mgrote_munin_server/templates/logrotate | 51 ------------------- 2 files changed, 56 deletions(-) delete mode 100644 roles/mgrote_munin_server/templates/logrotate diff --git a/roles/mgrote_munin_server/tasks/main.yml b/roles/mgrote_munin_server/tasks/main.yml index ad50dbc6..32bb5af5 100644 --- a/roles/mgrote_munin_server/tasks/main.yml +++ b/roles/mgrote_munin_server/tasks/main.yml @@ -19,11 +19,6 @@ src: apache.conf dest: /etc/apache2/sites-available/000-default.conf -- name: Template logrotate config - ansible.builtin.template: - src: logrotate - dest: /etc/logrotate.d/munin - # (chfn -f 'munin' root) ??? TODO - name: Enable fgcid diff --git a/roles/mgrote_munin_server/templates/logrotate b/roles/mgrote_munin_server/templates/logrotate deleted file mode 100644 index 1bd78d64..00000000 --- a/roles/mgrote_munin_server/templates/logrotate +++ /dev/null @@ -1,51 +0,0 @@ -/var/log/munin/munin-update.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 640 munin adm -} - -/var/log/munin/munin-graph.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 660 munin munin -} - -/var/log/munin/munin-html.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 640 munin adm -} - -/var/log/munin/munin-limits.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 640 munin adm -} - -/var/log/munin/munin-cgi-graph.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - #create 640 www-data adm - # see http://munin-monitoring.org/ticket/1152 - copytruncate -}