Try to work around #1039472. Use full path. Fix grub update. Cleanup.

This commit is contained in:
Andreas B. Mundt 2023-07-24 08:38:39 +02:00
parent 1445467387
commit edf71a4368
3 changed files with 9 additions and 19 deletions

View file

@ -64,7 +64,7 @@
dest: "/etc/default/grub"
regexp: 'GRUB_CMDLINE_LINUX=""$'
replace: 'GRUB_CMDLINE_LINUX="i915.force_probe=4909"'
notify: update grub
notify: Run update-grub
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "32CB"
- name: Fix sound
@ -72,7 +72,7 @@
dest: "/etc/default/grub"
regexp: 'GRUB_CMDLINE_LINUX=""$'
replace: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"'
notify: update grub
notify: Run update-grub
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312A"
## bullseye fixes:

View file

@ -41,12 +41,12 @@
- qtcreator
- freecad
- librecad
- arduino
# - arduino
- kicad
- keepassxc
- tmux
- curl
- default-jdk
# - default-jre
- pulseview
- sigrok
- sigrok-cli
@ -158,7 +158,7 @@
lineinfile:
dest: /etc/default/grub
regexp: '^(GRUB_TIMEOUT=).*'
line: '\g<1>1'
line: '\g<1>3'
backrefs: yes
notify: Run update-grub

View file

@ -84,7 +84,7 @@
- linbo-torrenthelper.sh
- vmimage-torrent
- name: deploy linbo-torrent defaults
- name: Deploy linbo-torrent defaults
copy:
src: linbo-torrent
dest: /etc/default/
@ -120,22 +120,12 @@
path: /usr/lib/qemu/qemu-bridge-helper
mode: '4755'
- name: deploy http proxy config
- name: Deploy http proxy config
copy:
src: lmn-proxy.sh
dest: /etc/profile.d/
mode: '0644'
- name: deploy pulseaudio fix
file:
path: /etc/systemd/user/pulseaudio.service.d/
state: directory
- name: deploy pulseaudio fix
copy:
src: pulseaudio-override.conf
dest: /etc/systemd/user/pulseaudio.service.d/override.conf
- name: Create directory for local .desktop-Files
ansible.builtin.file:
path: "{ item }"
@ -159,12 +149,12 @@
notify: Run update-desktop-database
- name: sync .torrent, .xml and .desktop files and run update-desktop-database
command: sync-vm.sh -t
command: /usr/local/bin/sync-vm.sh -t
register: result
changed_when: result.stdout | length > 0
#### VMs
- name: deploy initial image list
- name: Deploy initial image list
copy:
src: images.list
dest: /var/lib/libvirt/images/images.list