configure fan control
This commit is contained in:
parent
4653d2c573
commit
c9e6b105a9
2
hosts
2
hosts
|
@ -31,6 +31,8 @@ all:
|
||||||
hosts:
|
hosts:
|
||||||
router-0:
|
router-0:
|
||||||
ansible_host: 192.168.10.10
|
ansible_host: 192.168.10.10
|
||||||
|
server-0:
|
||||||
|
ansible_host: 192.168.10.11
|
||||||
# vars:
|
# vars:
|
||||||
# ansible_user: root
|
# ansible_user: root
|
||||||
lb:
|
lb:
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
- hosts: proxmox
|
||||||
|
roles:
|
||||||
|
- proxmox
|
||||||
|
|
||||||
- hosts: debian
|
- hosts: debian
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
@ -6,10 +10,6 @@
|
||||||
roles:
|
roles:
|
||||||
- haproxy
|
- haproxy
|
||||||
|
|
||||||
- hosts: proxmox
|
|
||||||
roles:
|
|
||||||
- proxmox
|
|
||||||
|
|
||||||
- hosts: k3s-server
|
- hosts: k3s-server
|
||||||
roles:
|
roles:
|
||||||
- k3s-server
|
- k3s-server
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
SUBSYSTEM=="thermal"
|
||||||
|
KERNEL=="thermal_zone0"
|
||||||
|
|
||||||
|
# If the temp hits 75c, turn on the fan. Turn it off again when it goes back down to 70.
|
||||||
|
ATTR{trip_point_3_temp}="75000"
|
||||||
|
ATTR{trip_point_3_hyst}="5000"
|
||||||
|
#
|
||||||
|
# If the temp hits 78c, higher RPM.
|
||||||
|
ATTR{trip_point_2_temp}="78000"
|
||||||
|
ATTR{trip_point_2_hyst}="2000"
|
||||||
|
#
|
||||||
|
# If the temp hits 80c, higher RPM.
|
||||||
|
ATTR{trip_point_1_temp}="80000"
|
||||||
|
ATTR{trip_point_1_hyst}="2000"
|
||||||
|
#
|
||||||
|
# If the temp hits 81c, highest RPM.
|
||||||
|
ATTR{trip_point_0_temp}="81000"
|
||||||
|
ATTR{trip_point_0_hyst}="5000"
|
|
@ -7,6 +7,12 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
|
- name: Configure poe hat fan speed control udev rules
|
||||||
|
copy:
|
||||||
|
src: 50-rpi-fan.rules
|
||||||
|
dest: /etc/udev/rules.d/50-rpi-fan.rules
|
||||||
|
notify: reboot
|
||||||
|
|
||||||
- name: Enable cgroups
|
- name: Enable cgroups
|
||||||
copy:
|
copy:
|
||||||
src: cmdline.txt
|
src: cmdline.txt
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
|
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue