Install kio-package with bugfix (documents may get lost on SMB shares)

This commit is contained in:
Raphael Dannecker 2024-05-06 11:30:18 +02:00
parent 81b268cff9
commit a8d74fce5b

View file

@ -310,12 +310,33 @@
line: DefaultTimeoutStopSec=5s line: DefaultTimeoutStopSec=5s
insertafter: '^#DefaultTimeoutStopSec=.*' insertafter: '^#DefaultTimeoutStopSec=.*'
- name: Work around libreoffice samba problem (kf5) - name: Work around libreoffice samba problem (kf5) - reinstall libreoffice-kf5
ansible.builtin.apt: ansible.builtin.apt:
name: name:
- libreoffice-kf5 - libreoffice-kf5
state: absent state: latest
purge: True 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.1_amd64.deb"
dest: /tmp/kio_5.103.0-1.1_amd64.deb
use_proxy: False
register: new_kio
when: kio_version.stdout is not search('5.103.0-1.1')
- name: Install kio package manually
shell:
cmd: dpkg -i /tmp/kio_5.103.0-1.1_amd64.deb
chdir: /tmp/
when: new_kio.changed | default(false)
################# #################