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 | |
parent | 738788e9536ac5bd697ddc0281bf7567451a4f7e (diff) |
wibble
Diffstat (limited to 'roles/common/tasks')
-rw-r--r-- | roles/common/tasks/logging.yml | 2 | ||||
-rw-r--r-- | roles/common/tasks/smart.yml | 2 |
2 files changed, 3 insertions, 1 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 @@ -71,6 +71,8 @@ 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 diff --git a/roles/common/tasks/smart.yml b/roles/common/tasks/smart.yml index 3e2e02d..56502ea 100644 --- a/roles/common/tasks/smart.yml +++ b/roles/common/tasks/smart.yml @@ -2,7 +2,7 @@ # apt-listbugs complains due to #706909. apt: pkg=smartmontools -- name: Configure smartmontools +- name: Auto-enable smartmontools lineinfile: dest=/etc/default/smartmontools regexp='^(\s*#)?\s*start_smartd=' line='start_smartd=yes' |