Fixes for akonadi, however, it still does not like the smb working dir.
This commit is contained in:
parent
7a3f106ee3
commit
a502d37c61
3 changed files with 16 additions and 1 deletions
|
@ -49,6 +49,12 @@
|
|||
default_release: "{{ ansible_distribution_release }}-backports"
|
||||
when: ansible_distribution_release == 'bullseye'
|
||||
|
||||
- name: Add home dirs to apparmor
|
||||
lineinfile:
|
||||
dest: /etc/apparmor.d/tunables/home.d/ubuntu
|
||||
line: >-
|
||||
@{HOMEDIRS}+=/srv/samba/schools/default-school/teachers/
|
||||
/srv/samba/schools/default-school/students/*/
|
||||
|
||||
- name: set homepage
|
||||
lineinfile:
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
server="{{ smb_server }}"
|
||||
path="{{ smb_share }}"
|
||||
mountpoint="/srv/samba/schools/default-school"
|
||||
options="sec=krb5i,cruid=%(USERUID),user=%(USER),gid=1010,file_mode=0770,dir_mode=0770"
|
||||
options="sec=krb5i,cruid=%(USERUID),user=%(USER),gid=1010,file_mode=0770,dir_mode=0770,mfsymlinks"
|
||||
><not><or><user>root</user><user>ansible</user><user>Debian-gdm</user><user>sddm</user><user>virti</user></or></not></volume>
|
||||
insertafter: "<!-- Volume definitions -->"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue