lm_sensors: New role

This commit is contained in:
Timo Mäkinen 2024-12-02 23:34:03 +02:00
parent e0721a73dd
commit 0696900894
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,8 @@
---
- name: Run sensors-detect
ansible.builtin.shell: "cat /dev/null | sensors-detect"
- name: Restart lm_sensors
ansible.builtin.service:
name: lm_sensors
state: restarted