generated from nicolabelluti/template-ansible
Added fan role
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# The custom `linux-cachyos-bc250` brings in the nct6678 module
|
||||
- name: Configure the nct6687 sensor module
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
blacklist nct6683
|
||||
options nct6687 force=true
|
||||
dest: /etc/modprobe.d/sensors.conf
|
||||
mode: '0644'
|
||||
|
||||
- name: Load nct6687 at boot
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
content: "nct6687\n"
|
||||
dest: /etc/modules-load.d/99-sensors.conf
|
||||
mode: '0644'
|
||||
|
||||
- name: Load nct6687 now
|
||||
become: true
|
||||
community.general.modprobe:
|
||||
name: nct6687
|
||||
state: present
|
||||
Reference in New Issue
Block a user