feat(nfs): Add auto mounted nfs filesystem
This commit is contained in:
parent
9c510251ca
commit
5e64e89647
7 changed files with 74 additions and 1 deletions
3
roles/nfs/templates/auto.nfs.jinja
Normal file
3
roles/nfs/templates/auto.nfs.jinja
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{% for mount in nfs_mounts %}
|
||||
{{ mount.name }} -fstype=nfs4,rw,soft,intr {{ mount.src }}
|
||||
{% endfor %}
|
||||
1
roles/nfs/templates/nfs.autofs.jinja
Normal file
1
roles/nfs/templates/nfs.autofs.jinja
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ nfs_mount_dir }} /etc/autofs/auto.nfs --timeout=300
|
||||
Loading…
Add table
Add a link
Reference in a new issue