Boot parameter not needed anymore after BIOS upgrade.

This commit is contained in:
Andreas B. Mundt 2023-07-29 21:23:55 +02:00
parent b8f536c162
commit f1c67852da

View file

@ -71,19 +71,21 @@
- name: Fix sound on 312A - name: Fix sound on 312A
replace: replace:
dest: "/etc/default/grub" dest: "/etc/default/grub"
regexp: 'GRUB_CMDLINE_LINUX=""$' regexp: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"$'
replace: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"' replace: 'GRUB_CMDLINE_LINUX=""'
notify: Run update-grub notify: Run update-grub
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312A" when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312A"
- name: Fix sound on 312D - name: Fix sound on 312A and 312D
apt: apt:
name: firmware-sof-signed name: firmware-sof-signed
state: latest state: latest
environment: environment:
http_proxy: http://firewall.pn.steinbeis.schule:3128 http_proxy: http://firewall.pn.steinbeis.schule:3128
https_proxy: http://firewall.pn.steinbeis.schule:3128 https_proxy: http://firewall.pn.steinbeis.schule:3128
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312D" when: >
ansible_board_vendor == "LENOVO" and
(ansible_board_name == "312D" or ansible_board_name == "312A")
## bullseye fixes: ## bullseye fixes:
- name: add bookworm firmware repository if needed - name: add bookworm firmware repository if needed