diff options
Diffstat (limited to 'roles/common/tasks/smart.yml')
-rw-r--r-- | roles/common/tasks/smart.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/roles/common/tasks/smart.yml b/roles/common/tasks/smart.yml index 56502ea..b24b302 100644 --- a/roles/common/tasks/smart.yml +++ b/roles/common/tasks/smart.yml @@ -1,15 +1,13 @@ - name: Install smartmontools - # apt-listbugs complains due to #706909. + # XXX apt-listbugs complains due to #706909. apt: pkg=smartmontools - name: Auto-enable smartmontools lineinfile: dest=/etc/default/smartmontools regexp='^(\s*#)?\s*start_smartd=' line='start_smartd=yes' owner=root group=root mode=0644 - name: Start smartd service: name=smartmontools state=started - # smartd can be heavy on VMs, don't bother starting it up if it's down - when: not (ansible_processor[0] | search("^QEMU Virtual CPU .*")) |