Enable POSIX SMB mount option through cifsopt variable
This commit is contained in:
parent
feec0067db
commit
83744196e1
2 changed files with 686 additions and 682 deletions
1366
inventory.yml
1366
inventory.yml
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue