summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-27 17:43:16 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:59 +0200
commitb1d95606ec7109361a61af1b1afdd6bc46611c77 (patch)
tree0c297fb3b72205f2c24238b7fa7ed5c560e32990 /roles/common/tasks
parentcf79062c501adfbaf4b7d4c337d2bc0ffd194a6d (diff)
More logcheck-database tweaks.
Diffstat (limited to 'roles/common/tasks')
-rw-r--r--roles/common/tasks/logging.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/common/tasks/logging.yml b/roles/common/tasks/logging.yml
index 472bb3b..3215ebe 100644
--- a/roles/common/tasks/logging.yml
+++ b/roles/common/tasks/logging.yml
@@ -16,13 +16,17 @@
copy: src=etc/logcheck/{{ item }}
dest=/etc/logcheck/{{ item }}
owner=root group=logcheck
- mode=0640
+ mode=0644
with_items:
- logcheck.conf
- ignore.d.server/common-local
- ignore.d.server/dovecot-local
- ignore.d.server/postfix-local
+ # logcheck-sudo already exists, but changing the filename for our
+ # local modifications would defeat the ruleset
- violations.ignore.d/logcheck-sudo
+ tags:
+ - logcheck
- name: Minimal logging policy (1)
lineinfile: dest=/etc/logrotate.d/rsyslog