Try to work around #1039472. Use full path. Fix grub update. Cleanup.
This commit is contained in:
parent
1445467387
commit
edf71a4368
3 changed files with 9 additions and 19 deletions
|
@ -64,7 +64,7 @@
|
||||||
dest: "/etc/default/grub"
|
dest: "/etc/default/grub"
|
||||||
regexp: 'GRUB_CMDLINE_LINUX=""$'
|
regexp: 'GRUB_CMDLINE_LINUX=""$'
|
||||||
replace: 'GRUB_CMDLINE_LINUX="i915.force_probe=4909"'
|
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"
|
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "32CB"
|
||||||
|
|
||||||
- name: Fix sound
|
- name: Fix sound
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
dest: "/etc/default/grub"
|
dest: "/etc/default/grub"
|
||||||
regexp: 'GRUB_CMDLINE_LINUX=""$'
|
regexp: 'GRUB_CMDLINE_LINUX=""$'
|
||||||
replace: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"'
|
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"
|
when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312A"
|
||||||
|
|
||||||
## bullseye fixes:
|
## bullseye fixes:
|
||||||
|
|
|
@ -41,12 +41,12 @@
|
||||||
- qtcreator
|
- qtcreator
|
||||||
- freecad
|
- freecad
|
||||||
- librecad
|
- librecad
|
||||||
- arduino
|
# - arduino
|
||||||
- kicad
|
- kicad
|
||||||
- keepassxc
|
- keepassxc
|
||||||
- tmux
|
- tmux
|
||||||
- curl
|
- curl
|
||||||
- default-jdk
|
# - default-jre
|
||||||
- pulseview
|
- pulseview
|
||||||
- sigrok
|
- sigrok
|
||||||
- sigrok-cli
|
- sigrok-cli
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/default/grub
|
dest: /etc/default/grub
|
||||||
regexp: '^(GRUB_TIMEOUT=).*'
|
regexp: '^(GRUB_TIMEOUT=).*'
|
||||||
line: '\g<1>1'
|
line: '\g<1>3'
|
||||||
backrefs: yes
|
backrefs: yes
|
||||||
notify: Run update-grub
|
notify: Run update-grub
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
- linbo-torrenthelper.sh
|
- linbo-torrenthelper.sh
|
||||||
- vmimage-torrent
|
- vmimage-torrent
|
||||||
|
|
||||||
- name: deploy linbo-torrent defaults
|
- name: Deploy linbo-torrent defaults
|
||||||
copy:
|
copy:
|
||||||
src: linbo-torrent
|
src: linbo-torrent
|
||||||
dest: /etc/default/
|
dest: /etc/default/
|
||||||
|
@ -120,22 +120,12 @@
|
||||||
path: /usr/lib/qemu/qemu-bridge-helper
|
path: /usr/lib/qemu/qemu-bridge-helper
|
||||||
mode: '4755'
|
mode: '4755'
|
||||||
|
|
||||||
- name: deploy http proxy config
|
- name: Deploy http proxy config
|
||||||
copy:
|
copy:
|
||||||
src: lmn-proxy.sh
|
src: lmn-proxy.sh
|
||||||
dest: /etc/profile.d/
|
dest: /etc/profile.d/
|
||||||
mode: '0644'
|
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
|
- name: Create directory for local .desktop-Files
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{ item }"
|
path: "{ item }"
|
||||||
|
@ -159,12 +149,12 @@
|
||||||
notify: Run update-desktop-database
|
notify: Run update-desktop-database
|
||||||
|
|
||||||
- name: sync .torrent, .xml and .desktop files and 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
|
register: result
|
||||||
changed_when: result.stdout | length > 0
|
changed_when: result.stdout | length > 0
|
||||||
|
|
||||||
#### VMs
|
#### VMs
|
||||||
- name: deploy initial image list
|
- name: Deploy initial image list
|
||||||
copy:
|
copy:
|
||||||
src: images.list
|
src: images.list
|
||||||
dest: /var/lib/libvirt/images/images.list
|
dest: /var/lib/libvirt/images/images.list
|
||||||
|
|
Loading…
Add table
Reference in a new issue