diff --git a/lmn-client.yml b/lmn-client.yml index b1a5695..e003cbe 100644 --- a/lmn-client.yml +++ b/lmn-client.yml @@ -159,41 +159,6 @@ when: new_codeblocks.changed | default(false) when: groups.PCroom is defined and inventory_hostname in groups.PCroom - ## Temporarily fix boot order - - name: Check for the buggy kernel - stat: - path: /boot/vmlinuz-6.1.0-17-amd64 - register: bug - - - name: Check for the fixed kernel - stat: - path: /boot/vmlinuz-6.1.0-18-amd64 - register: fix - - - name: Work around kernel with CIFS regression - block: - - name: Make sure kernel package -16 is available - ansible.builtin.apt: - name: linux-image-6.1.0-16-amd64 - state: present - - name: Set 6.1.0-16 as default kernel in grub - lineinfile: - dest: /etc/default/grub - regexp: '^(GRUB_DEFAULT=).*' - line: '\g<1>"Debian GNU/Linux, with Linux 6.1.0-16-amd64"' - backrefs: yes - notify: Run update-grub - when: bug.stat.exists and not fix.stat.exists - - - name: Set latest kernel in grub - lineinfile: - dest: /etc/default/grub - regexp: '^(GRUB_DEFAULT=).*' - line: '\g<1>0' - backrefs: yes - when: fix.stat.exists or not bug.stat.exists - notify: Run update-grub - ## Clean up stuff from obsolete/faulty tasks: - name: Remove sddm login screen patch with deprecated marker (homeondisk) blockinfile: @@ -345,34 +310,6 @@ line: DefaultTimeoutStopSec=5s insertafter: '^#DefaultTimeoutStopSec=.*' - - name: Work around libreoffice samba problem (kf5) - reinstall libreoffice-kf5 - ansible.builtin.apt: - name: - - libreoffice-kf5 - state: latest - autoremove: true - default_release: "{{ ansible_distribution_release }}-backports" - - - name: Check for old kio-package (samba problem) - command: - cmd: dpkg -l kio - register: kio_version - changed_when: False - - - name: Download kio debian package - ansible.builtin.get_url: - url: "http://livebox.pn.steinbeis.schule/kio/kio_5.103.0-1+deb12u1_amd64.deb" - dest: /tmp/kio_5.103.0-1+deb12u1_amd64.deb - use_proxy: False - register: new_kio - when: kio_version.stdout is not search('5.103.0-1\+deb12u1') - - - name: Install kio package manually - shell: - cmd: dpkg -i /tmp/kio_5.103.0-1+deb12u1_amd64.deb - chdir: /tmp/ - when: new_kio.changed | default(false) - - name: Patch spyder to fix 'file-has-changed' issues on CIFS ansible.posix.patch: src: spyder.patch