autofs: Add option which NFS mounts to enable
This commit is contained in:
parent
050eee3f23
commit
8f4cc59542
2 changed files with 7 additions and 0 deletions
3
roles/autofs/defaults/main.yml
Normal file
3
roles/autofs/defaults/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
autofs_home: true
|
||||||
|
autofs_roles: true
|
|
@ -1,2 +1,6 @@
|
||||||
|
{% if autofs_home %}
|
||||||
/home ldap:///ou=People,{{ ldap_basedn }} rw,nosuid,nodev,rsize=1048576,wsize=1048576
|
/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
|
/roles ldap:///ou=Groups,{{ ldap_basedn }} rw,nosuid,nodev,rsize=1048576,wsize=1048576 --ghost
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue