roles/samba: Support selecting interfaces

The `samba_interfaces` variable can now be defined to populate the
`interfaces` global configuration parameter in `smb.conf`. This
parameter controls the interfaces or addresses to which the Samba server
binds, and also the IP addresses that are registered in DNS.
jenkins-master
Dustin 2018-06-23 13:49:04 -05:00
parent 9d54411d52
commit 10d6b52460
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ server role = {{ samba_server_role }}
{% else %}
security = {{ samba_security }}
{% endif %}
{% if samba_interfaces is defined %}
interfaces = {{ samba_interfaces|join(' ') }}
{% endif %}
{% if samba_options is defined %}
{% for option in samba_options %}