fix for machines in R217

This commit is contained in:
Andreas B. Mundt 2023-07-14 10:45:20 +02:00
parent 0b1bae17a3
commit 764fd3a3bf

View file

@ -57,6 +57,7 @@
shell: /bin/bash
groups: libvirt
append: yes
- name: Fix 8086:4909 external graphics card
replace:
dest: "/etc/default/grub"
@ -65,6 +66,14 @@
notify: update grub
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "32CB"
- name: Fix sound
replace:
dest: "/etc/default/grub"
regexp: 'GRUB_CMDLINE_LINUX=""$'
replace: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"'
notify: update grub
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312A"
- name: add bookworm firmware repository if needed
apt_repository:
repo: deb http://deb.debian.org/debian/ bookworm non-free-firmware