22 lines
933 B
YAML
22 lines
933 B
YAML
# 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'
|