From 28009113c2dabb043746bd201b813b53ae4bac3f Mon Sep 17 00:00:00 2001 From: "Andreas B. Mundt" Date: Fri, 11 Aug 2023 18:23:32 +0200 Subject: [PATCH] Configure to use sqlite in akonadi. --- roles/lmn_kde/tasks/main.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/roles/lmn_kde/tasks/main.yml b/roles/lmn_kde/tasks/main.yml index 66ad45b..8026074 100644 --- a/roles/lmn_kde/tasks/main.yml +++ b/roles/lmn_kde/tasks/main.yml @@ -7,6 +7,7 @@ - task-german-desktop - xdg-desktop-portal-kde - kde-full + - akonadi-backend-sqlite - atftp - thunderbird-l10n-de - webext-privacy-badger @@ -73,18 +74,36 @@ default_release: "{{ ansible_distribution_release }}-backports" when: ansible_distribution_release == 'bullseye' -- name: enable splash screen + +- name: Enable splash screen replace: dest: "/etc/default/grub" regexp: '"quiet"$' replace: '"quiet splash"' notify: Run update-grub + +- name: Create akonadi config dir + ansible.builtin.file: + path: /etc/xdg/akonadi/ + state: directory + mode: '0755' + +- name: Use sqlite in akonadi + blockinfile: + path: /etc/xdg/akonadi/akonadiserverrc + create: true + block: | + [%General] + Driver=QSQLITE3 + + - name: Allow users to dump packets for wireshark ansible.builtin.file: path: /usr/bin/dumpcap mode: '0755' + - name: Add home dirs to apparmor lineinfile: dest: /etc/apparmor.d/tunables/home.d/ubuntu @@ -92,6 +111,7 @@ @{HOMEDIRS}+=/srv/samba/schools/default-school/teachers/ /srv/samba/schools/default-school/students/*/ + - name: Create firefox policies directory ansible.builtin.file: path: /etc/firefox-esr/policies @@ -104,12 +124,12 @@ dest: /etc/firefox state: link - - name: copy policy ansible.builtin.copy: src: policies.json dest: /etc/firefox-esr/policies/ + - name: tune SDDM login blockinfile: path: /etc/sddm.conf @@ -126,6 +146,7 @@ state: directory mode: '0755' + - name: Avoid suspending blockinfile: path: /etc/systemd/sleep.conf.d/nosuspend.conf @@ -154,6 +175,7 @@ - pwroff.timer notify: enable pwroff.timer + ################# general settings ################## - name: Protect grub menu entries blockinfile: