diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-07-03 18:22:06 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:52:22 +0200 |
commit | e8d53fadb1a9f67f9edbab329cc131103ba1bcd6 (patch) | |
tree | cddf20e876ac339f982af99c151dd47a1b5cbc48 /roles/common/tasks/logging.yml | |
parent | 738788e9536ac5bd697ddc0281bf7567451a4f7e (diff) |
wibble
Diffstat (limited to 'roles/common/tasks/logging.yml')
-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 62727c9..3b86294 100644 --- a/roles/common/tasks/logging.yml +++ b/roles/common/tasks/logging.yml @@ -54,28 +54,30 @@ - logcheck - name: Configure logcheck (2) lineinfile: dest=/etc/logcheck/logcheck.logfiles line={{ item }} state=present create=yes owner=root group=logcheck mode=0640 with_items: - /var/log/syslog - /var/log/auth.log - /var/log/mail.log tags: - logcheck - name: Minimal logging policy (1) lineinfile: dest=/etc/logrotate.d/rsyslog regexp="^/var/log/mail\\.(log|info|sasl)$" state=absent + owner=root group=root + mode=0644 - 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 |