fix linter errors (#584)

Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2023-10-25 22:26:17 +02:00 committed by mg
commit 7a24089031
758 changed files with 7244 additions and 24264 deletions

View file

@ -0,0 +1,29 @@
---
- name: include user tasks
ansible.builtin.include_tasks: user.yml
- name: ensure smartmontools are installed
become: true
ansible.builtin.package:
name: smartmontools
state: present
- name: template smartmontools config
become: true
ansible.builtin.template:
src: "smartmontools"
dest: "/etc/default/smartmontools"
owner: "{{ smart_user }}"
group: "{{ smart_user_group }}"
mode: "0644"
notify: restart smartmontools
- name: template smartd.conf
become: true
ansible.builtin.template:
src: "smartd.conf"
dest: "/etc/smartd.conf"
owner: "{{ smart_user }}"
group: "{{ smart_user_group }}"
mode: "0644"
notify: restart smartmontools