include options use absolute paths

Configuration includes needs an absolute path, at least on Debian. Relative
paths are ignored.
As the include files are copied to {{ samba_configuration_dir }}, I suggest
to prefix the corresponding includes in the template with the same path.

Fixes unbalanced curly bracket
This commit is contained in:
Bengt Giger 2018-12-05 15:49:00 +01:00
parent d2b24a68e5
commit eaefa6de30

View File

@ -91,7 +91,7 @@
{% endif %} {% endif %}
{% if samba_home_include is defined %} {% if samba_home_include is defined %}
include = {{{ samba_configuration_dir }}/{ samba_home_include }} include = {{ samba_configuration_dir }}/{{ samba_home_include }}
{% endif %} {% endif %}
{% if samba_shares|length > 0 %} {% if samba_shares|length > 0 %}