Install kio-package with bugfix (documents may get lost on SMB shares)
This commit is contained in:
parent
81b268cff9
commit
a8d74fce5b
1 changed files with 24 additions and 3 deletions
|
@ -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)
|
||||||
|
|
||||||
#################
|
#################
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue