Configure to use sqlite in akonadi.
This commit is contained in:
parent
d8aba1b879
commit
28009113c2
1 changed files with 24 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
- task-german-desktop
|
- task-german-desktop
|
||||||
- xdg-desktop-portal-kde
|
- xdg-desktop-portal-kde
|
||||||
- kde-full
|
- kde-full
|
||||||
|
- akonadi-backend-sqlite
|
||||||
- atftp
|
- atftp
|
||||||
- thunderbird-l10n-de
|
- thunderbird-l10n-de
|
||||||
- webext-privacy-badger
|
- webext-privacy-badger
|
||||||
|
@ -73,18 +74,36 @@
|
||||||
default_release: "{{ ansible_distribution_release }}-backports"
|
default_release: "{{ ansible_distribution_release }}-backports"
|
||||||
when: ansible_distribution_release == 'bullseye'
|
when: ansible_distribution_release == 'bullseye'
|
||||||
|
|
||||||
- name: enable splash screen
|
|
||||||
|
- name: Enable splash screen
|
||||||
replace:
|
replace:
|
||||||
dest: "/etc/default/grub"
|
dest: "/etc/default/grub"
|
||||||
regexp: '"quiet"$'
|
regexp: '"quiet"$'
|
||||||
replace: '"quiet splash"'
|
replace: '"quiet splash"'
|
||||||
notify: Run update-grub
|
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
|
- name: Allow users to dump packets for wireshark
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /usr/bin/dumpcap
|
path: /usr/bin/dumpcap
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
|
|
||||||
- name: Add home dirs to apparmor
|
- name: Add home dirs to apparmor
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/apparmor.d/tunables/home.d/ubuntu
|
dest: /etc/apparmor.d/tunables/home.d/ubuntu
|
||||||
|
@ -92,6 +111,7 @@
|
||||||
@{HOMEDIRS}+=/srv/samba/schools/default-school/teachers/
|
@{HOMEDIRS}+=/srv/samba/schools/default-school/teachers/
|
||||||
/srv/samba/schools/default-school/students/*/
|
/srv/samba/schools/default-school/students/*/
|
||||||
|
|
||||||
|
|
||||||
- name: Create firefox policies directory
|
- name: Create firefox policies directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /etc/firefox-esr/policies
|
path: /etc/firefox-esr/policies
|
||||||
|
@ -104,12 +124,12 @@
|
||||||
dest: /etc/firefox
|
dest: /etc/firefox
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
|
|
||||||
- name: copy policy
|
- name: copy policy
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: policies.json
|
src: policies.json
|
||||||
dest: /etc/firefox-esr/policies/
|
dest: /etc/firefox-esr/policies/
|
||||||
|
|
||||||
|
|
||||||
- name: tune SDDM login
|
- name: tune SDDM login
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/sddm.conf
|
path: /etc/sddm.conf
|
||||||
|
@ -126,6 +146,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
|
|
||||||
- name: Avoid suspending
|
- name: Avoid suspending
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/systemd/sleep.conf.d/nosuspend.conf
|
path: /etc/systemd/sleep.conf.d/nosuspend.conf
|
||||||
|
@ -154,6 +175,7 @@
|
||||||
- pwroff.timer
|
- pwroff.timer
|
||||||
notify: enable pwroff.timer
|
notify: enable pwroff.timer
|
||||||
|
|
||||||
|
|
||||||
################# general settings ##################
|
################# general settings ##################
|
||||||
- name: Protect grub menu entries
|
- name: Protect grub menu entries
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
|
Loading…
Add table
Reference in a new issue