generated from nicolabelluti/template-ansible
23 lines
540 B
YAML
23 lines
540 B
YAML
# 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
|