feat(role): Add mainboard Asus PRIME A320I-K

This commit is contained in:
2025-12-19 00:46:16 +01:00
parent 01e92da937
commit a0f0cb28f4
6 changed files with 40 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
# SPDX-License-Identifier: MIT
- name: 'If mainboard is Asus PRIME A320I-K (with ITE IT8655E super I/O chip) and Arch Linux install Arch User Repository (AUR) packages for sensors and fan control'
when: 'ansible_facts[''os_family''] | lower == ''archlinux'''
kewlfft.aur.aur:
name: '{{ packages_linux_sensors_archlinux_paru_ite_it8655e }}'
state: 'present'
become: 'yes'
become_user: 'build'
- name: 'If mainboard is Asus PRIME A320I-K (with ITE IT8655E super I/O chip) add fan control config'
loop_control:
loop_var: 'file'
index_var: 'i'
label: 'Store ''{{ file.dst }}'' {{ file.purpose_human_readable }}'
loop:
- { src: 'etc/fancontrol-ite-it8655e-fans-1-2-3-bound-to-cpu-die-temp', dst: '/etc/fancontrol', purpose_human_readable: 'to supply sane fan control settings' }
ansible.builtin.copy:
src: '{{ file.src }}'
dest: '{{ file.dst }}'
notify:
- 'Restart fancontrol.service'