diff --git a/lmn-desktop.yml b/lmn-desktop.yml index bd52d66..78fc8e4 100644 --- a/lmn-desktop.yml +++ b/lmn-desktop.yml @@ -71,19 +71,21 @@ - name: Fix sound on 312A replace: dest: "/etc/default/grub" - regexp: 'GRUB_CMDLINE_LINUX=""$' - replace: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"' + regexp: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"$' + replace: 'GRUB_CMDLINE_LINUX=""' notify: Run update-grub when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312A" - - name: Fix sound on 312D + - name: Fix sound on 312A and 312D apt: name: firmware-sof-signed state: latest environment: http_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: - name: add bookworm firmware repository if needed