The variable samba_netbios_name is no longer required and defaults to ansible_hostname

This commit is contained in:
Bert Van Vreckem 2015-11-05 15:14:12 +01:00
parent a944280ba0
commit e1470dc50e

View File

@ -5,7 +5,8 @@
[global] [global]
# Server information # Server information
netbios name = {{ samba_netbios_name }} netbios name = {% if samba_netbios_name is defined %}{{ samba_netbios_name }}{% else %}{{ ansible_hostname }}{% endif %}
workgroup = {{ samba_workgroup }} workgroup = {{ samba_workgroup }}
server string = {{ samba_server_string }} server string = {{ samba_server_string }}