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
No related tags found
No related merge requests found
...@@ -7,8 +7,3 @@ ...@@ -7,8 +7,3 @@
systemd: systemd:
name: auditd.service name: auditd.service
state: restarted state: restarted
- listen: restart smartd
systemd:
name: smartd.service
state: restarted
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
state: present state: present
vars: vars:
packages: packages:
- smartmontools
- pciutils - pciutils
- ethtool - ethtool
- intel-microcode - intel-microcode
...@@ -41,13 +40,3 @@ ...@@ -41,13 +40,3 @@
state: present state: present
when: "'nvme0n1' in ansible_devices" 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