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 -}