Aktualisisert von Coderberg

This commit is contained in:
Frank Schiebel 2026-08-05 13:05:20 +02:00
parent 8caa3cf881
commit 0ccf139311
41 changed files with 649 additions and 186 deletions

View file

@ -8,3 +8,53 @@
- bookworm.yml
- cleanup.yml
when: ansible_distribution_release == "bookworm"
- name: Set chromium gl-flags fixing AMD graphic issues
ansible.builtin.copy:
dest: /etc/chromium.d/fvs
content: |
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --use-gl=desktop"
when: ansible_board_vendor == "LENOVO" and
(ansible_board_name == "312D" or ansible_board_name == "312A")
- name: Fix 8086:4909 external graphics card
ansible.builtin.replace:
dest: "/etc/default/grub"
regexp: 'GRUB_CMDLINE_LINUX=""$'
replace: 'GRUB_CMDLINE_LINUX="i915.force_probe=4909"'
notify: Run update-grub
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "32CB"
- name: Remove calligra
ansible.builtin.apt:
name:
- calligra
state: absent
purge: true
autoremove: true
# CVE-2026-31431 https://copy.fail/#mitigation
- name: Create modprobe config to disable algif_aead
ansible.builtin.lineinfile:
path: /etc/modprobe.d/disable-algif.conf
line: "install algif_aead /bin/false"
create: true
mode: '0644'
- name: Remove algif_aead module if loaded
community.general.modprobe:
name: algif_aead
state: absent
# Dirty.Frag
- name: Create modprobe config to disable modules needed for dirty.frag
ansible.builtin.copy:
dest: /etc/modprobe.d/dirtyfrag.conf
content: |
install esp4 /bin/false
install esp6 /bin/false
install rxrpc /bin/false
mode: '0644'
- name: Set VM permissions
ansible.builtin.command: chmod -R o+r /lmn/vm