mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2022-10-19 17:00
This commit is contained in:
7
roles/nas/templates/exports.j2
Normal file
7
roles/nas/templates/exports.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
{% for share in nas_shares %}
|
||||
{% if share.protocols.nfs.enabled %}
|
||||
{{ share.path | default(nas_root_dir + '/data/' + share.name) }} *(rw,{{ share.protocols.nfs.root_squash | ternary('','no_') }}root_squash)
|
||||
{% else %}
|
||||
# NFS not enabled for share {{ share.name }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user