Revert "Implement cifs caching with cachefilesd."
This reverts commit 6c7209e82b
.
This commit is contained in:
parent
ab70115e85
commit
b4a78bdd84
1 changed files with 1 additions and 8 deletions
|
@ -5,7 +5,6 @@
|
|||
- libpam-mount
|
||||
- cifs-utils
|
||||
- nfs-common
|
||||
- cachefilesd
|
||||
- hxtools
|
||||
- davfs2
|
||||
state: latest
|
||||
|
@ -35,7 +34,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,mfsymlinks,nobrl,fsc,actimeo=600{{ cifsopt | default(",cache=loose") }}"
|
||||
options="sec=krb5i,cruid=%(USERUID),user=%(USER),gid=1010,file_mode=0770,dir_mode=0770,mfsymlinks,nobrl,actimeo=600{{ cifsopt | default(",cache=loose") }}"
|
||||
><not><or><user>root</user><user>ansible</user><user>Debian-gdm</user><user>sddm</user><user>{{ localuser }}</user></or></not>
|
||||
</volume>
|
||||
insertafter: "<!-- Volume definitions -->"
|
||||
|
@ -46,12 +45,6 @@
|
|||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Enable cachefilesd
|
||||
ansible.builtin.replace:
|
||||
path: /etc/default/cachefilesd
|
||||
regexp: '^#RUN=yes'
|
||||
replace: RUN=yes
|
||||
|
||||
- name: Prepare persistent user cache base directory
|
||||
ansible.builtin.file:
|
||||
path: /var/cache/user/
|
||||
|
|
Loading…
Add table
Reference in a new issue