added interfaces option to template file and support for ArchLinux os

This commit is contained in:
Jonas Heinrich 2016-07-15 20:58:30 +02:00
parent 98a346dc45
commit bf5aa7dacd
2 changed files with 20 additions and 0 deletions

View File

@ -24,6 +24,10 @@
passdb backend = {{ samba_passdb_backend }}
map to guest = {{ samba_map_to_guest }}
{% if samba_interfaces is defined %}
interfaces = {{ samba_interfaces }}
{% endif %}
# Name resolution: make sure \\NETBIOS_NAME\ works
wins support = yes
local master = yes

16
vars/os_Archlinux.yml Normal file
View File

@ -0,0 +1,16 @@
# roles/samba/vars/os_Archlinux.yml
---
samba_packages:
- samba
- smbclient
samba_selinux_packages: []
samba_selinux_booleans: []
samba_configuration: /etc/samba/smb.conf
samba_service: smbd
winbind_service: nmbd
samba_www_documentroot: /var/www