mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
8 lines
288 B
Django/Jinja
8 lines
288 B
Django/Jinja
{% 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 %}
|