The variable samba_netbios_name
is no longer required and defaults to ansible_hostname
This commit is contained in:
parent
a944280ba0
commit
e1470dc50e
@ -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 }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user