autofs: Add option which NFS mounts to enable

This commit is contained in:
Timo Makinen 2024-12-17 15:53:31 +00:00
parent 050eee3f23
commit 8f4cc59542
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
autofs_home: true
autofs_roles: true

View file

@ -1,2 +1,6 @@
{% if autofs_home %}
/home ldap:///ou=People,{{ ldap_basedn }} rw,nosuid,nodev,rsize=1048576,wsize=1048576
{% endif %}
{% if autofs_roles %}
/roles ldap:///ou=Groups,{{ ldap_basedn }} rw,nosuid,nodev,rsize=1048576,wsize=1048576 --ghost
{% endif %}