Ansible_workstation/roles/samba_server/templates/smb_share.conf.j2

10 lines
312 B
Django/Jinja

{% for export in samba_exports %}
[{{ export.name }}]
comment = {{ export.comment }}
browseable = {{ export.browseable | default("yes")}}
public = {{ export.public | default("yes") }}
path = {{ export.path}}
writable = {{ export.writable | default("yes") }}
{% endfor %}