Enable POSIX SMB mount option through cifsopt variable

This commit is contained in:
Raphael Dannecker 2025-07-18 12:16:48 +02:00
parent feec0067db
commit 83744196e1
2 changed files with 686 additions and 682 deletions

File diff suppressed because it is too large Load diff

View file

@ -117,7 +117,7 @@
ansible.posix.mount: ansible.posix.mount:
src: //fileserver.pn.steinbeis.schule/default-school src: //fileserver.pn.steinbeis.schule/default-school
path: /srv/samba/schools/default-school path: /srv/samba/schools/default-school
opts: "multiuser,sec=krb5i,mfsymlinks,nobrl,actimeo=600,cache=loose,_netdev,x-systemd.automount,x-systemd.idle-timeout=60s" opts: "multiuser,sec=krb5i,mfsymlinks,nobrl,actimeo=600,_netdev,x-systemd.automount,x-systemd.idle-timeout=60s{{ cifsopt | default('') }}"
state: present state: present
fstype: cifs fstype: cifs
when: not nfs4 when: not nfs4