13 lines
492 B
Django/Jinja
13 lines
492 B
Django/Jinja
# The home-server project produces a multi-purpose setup using Ansible.
|
|
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
|
|
|
{% macro clients(opts) %}
|
|
{% for net in net_trusted_ranges.split(' ') %}
|
|
{{net}}({{opts}})
|
|
{%- endfor %}
|
|
{% endmacro %}
|
|
{% for e in [transmission_nfs_done_at, transmission_nfs_todo_at] %}
|
|
/srv/nfs/{{e}}{{ clients(nfs_options) }}
|
|
{% endfor %}
|