diff --git a/templates/smb.conf.j2 b/templates/smb.conf.j2 index 378bc9f..da0101a 100644 --- a/templates/smb.conf.j2 +++ b/templates/smb.conf.j2 @@ -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 diff --git a/vars/os_Archlinux.yml b/vars/os_Archlinux.yml new file mode 100644 index 0000000..edfd3f6 --- /dev/null +++ b/vars/os_Archlinux.yml @@ -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