diff --git a/lmn-desktop.yml b/lmn-desktop.yml index 9533177..a9ae690 100644 --- a/lmn-desktop.yml +++ b/lmn-desktop.yml @@ -42,3 +42,21 @@ shell: /bin/bash groups: libvirt append: yes + - name: Fix 8086:4909 external graphics card + replace: + dest: "/etc/default/grub" + regexp: 'GRUB_CMDLINE_LINUX=""$' + replace: 'GRUB_CMDLINE_LINUX="i915.force_probe=4909"' + notify: update grub + when: ansible_board_vendor == "LENOVO" and ansible_board_name == "32CB" + - name: add bookworm + apt_repository: + repo: deb http://deb.debian.org/debian/ bookworm non-free-firmware + state: present + update_cache: true + when: ansible_board_vendor == "LENOVO" and ansible_board_name == "32CB" + - name: upgrade non-free-firmware packages + apt: + upgrade: true + autoremove: true + autoclean: true diff --git a/roles/up2date_debian/tasks/main.yml b/roles/up2date_debian/tasks/main.yml index d28bc9e..3d7ba68 100644 --- a/roles/up2date_debian/tasks/main.yml +++ b/roles/up2date_debian/tasks/main.yml @@ -24,7 +24,7 @@ - name: add {{ ansible_distribution_release }}-backports apt_repository: - repo: deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-backports main + repo: deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-backports main contrib non-free state: present update_cache: true when: extra_pkgs_bpo|length