diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-12-15 23:54:53 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:28 +0200 |
commit | de0914bf8105fa8c281a326e6e3e4e3f211bb0f3 (patch) | |
tree | 6f6ae82ecbb46d6e032944ee1efb765c2649fed1 /roles/common/tasks | |
parent | e4c74a8f95ea5a77e4d65b9b0952ff48a0564161 (diff) |
wibble
Diffstat (limited to 'roles/common/tasks')
-rw-r--r-- | roles/common/tasks/logging.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/common/tasks/logging.yml b/roles/common/tasks/logging.yml index 312c31e..06f06b0 100644 --- a/roles/common/tasks/logging.yml +++ b/roles/common/tasks/logging.yml @@ -14,24 +14,26 @@ - name: Configure logcheck copy: src=etc/logcheck/{{ item }} dest=/etc/logcheck/{{ item }} owner=root group=logcheck mode=0640 with_items: - logcheck.conf - ignore.d.server/common.local - name: Minimal logging policy (1) lineinfile: dest=/etc/logrotate.d/rsyslog regexp="^/var/log/mail.(log|info)$" state=absent - name: Minimal logging policy (2) copy: src=etc/logrotate.d/fripost-mail dest=/etc/logrotate.d/fripost-mail owner=root group=root mode=0644 + tags: + - logrotate # TODO: We also have specialized per-role logcheck rulesets, per-role # logrotate configuration (/etc/logrotate.d), and per-role rsyslog # configuration (/etc/rsyslog.d). |