diff options
Diffstat (limited to 'chaos-at-home/ch-helene.yml')
-rw-r--r-- | chaos-at-home/ch-helene.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chaos-at-home/ch-helene.yml b/chaos-at-home/ch-helene.yml index 8595aa5e..a87e78bc 100644 --- a/chaos-at-home/ch-helene.yml +++ b/chaos-at-home/ch-helene.yml @@ -11,3 +11,30 @@ - role: core/admin-users - role: apt-repo/spreadspace - role: streaming/blackmagic/desktopvideo + post_tasks: + - name: install lm-sensors and i7z + apt: + name: + - lm-sensors + - i7z + + - name: load modules for lm-sensors + vars: + sensors_modules: + - coretemp + block: + - name: load special modules for lm-sensors + loop: "{{ sensors_modules }}" + modprobe: + name: "{{ item }}" + state: present + + - name: make sure module is loaded on reboot + copy: + content: | + # Ansible managed + + {% for module in sensors_modules %} + {{ module }} + {% endfor %} + dest: /etc/modules-load.d/sensors.conf |