smartd: Initial version of role
This commit is contained in:
parent
ad469b041c
commit
b9aeb7ee06
1 changed files with 11 additions and 0 deletions
11
roles/smartd/tasks/main.yml
Normal file
11
roles/smartd/tasks/main.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: install packages
|
||||
ansible.builtin.package:
|
||||
name: smartmontools
|
||||
state: installed
|
||||
|
||||
- name: enable service
|
||||
ansible.builtin.service:
|
||||
name: smartd
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue