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
|
- libpam-mount
|
||||||
- cifs-utils
|
- cifs-utils
|
||||||
- nfs-common
|
- nfs-common
|
||||||
- cachefilesd
|
|
||||||
- hxtools
|
- hxtools
|
||||||
- davfs2
|
- davfs2
|
||||||
state: latest
|
state: latest
|
||||||
|
@ -35,7 +34,7 @@
|
||||||
server="{{ smb_server }}"
|
server="{{ smb_server }}"
|
||||||
path="{{ smb_share }}"
|
path="{{ smb_share }}"
|
||||||
mountpoint="/srv/samba/schools/default-school"
|
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>
|
><not><or><user>root</user><user>ansible</user><user>Debian-gdm</user><user>sddm</user><user>{{ localuser }}</user></or></not>
|
||||||
</volume>
|
</volume>
|
||||||
insertafter: "<!-- Volume definitions -->"
|
insertafter: "<!-- Volume definitions -->"
|
||||||
|
@ -46,12 +45,6 @@
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
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
|
- name: Prepare persistent user cache base directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /var/cache/user/
|
path: /var/cache/user/
|
||||||
|
|
Loading…
Add table
Reference in a new issue