Skip to content
Snippets Groups Projects
Commit e8a2d099 authored by ale's avatar ale
Browse files

Do not install smartmontools

This is now part of base "float".
parent c26dac75
Branches
Tags
No related merge requests found
......@@ -7,8 +7,3 @@
systemd:
name: auditd.service
state: restarted
- listen: restart smartd
systemd:
name: smartd.service
state: restarted
......@@ -30,7 +30,6 @@
state: present
vars:
packages:
- smartmontools
- pciutils
- ethtool
- intel-microcode
......@@ -41,13 +40,3 @@
state: present
when: "'nvme0n1' in ansible_devices"
- name: Configure smartd
template:
src: smartd.conf.j2
dest: /etc/smartd.conf
notify: restart smartd
- name: Disable smartd emails
file:
path: /etc/smartmontools/run.d/10mail
state: absent
# Long tests once a month, on the 15th at 15.00
# Short tests every Monday at 11.00
DEFAULT -a -s (L/../15/./15|S/../../1/11) -m {{ alert_email }} -M exec /usr/share/smartmontools/smartd-runner
# Host specific configuration
{{ smartd_extra_config | default('') }}
DEVICESCAN {{ '-d nvme' if 'nvme0n1' in ansible_devices else '' }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment