️: set cpu power to low for NAS

This commit is contained in:
VC
2024-11-04 10:24:08 +01:00
parent af4f913014
commit fd8b5c8e85
2 changed files with 13 additions and 0 deletions

View File

@@ -7,3 +7,4 @@
- zfs - zfs
- nfs - nfs
- smart - smart
- cpupower

View File

@@ -0,0 +1,12 @@
---
- name: Install cpupower
ansible.builtin.apt:
name: linux-cpupower
update_cache: true
state: present
- name: Set cpupower to min
ansible.builtin.command: cpupower frequency-set -r -g powersave
register: cpupower_output
changed_when: cpupower_output.rc != 0