summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/common/tasks/logging.yml2
-rw-r--r--roles/common/tasks/smart.yml2
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'