Skip to content
Snippets Groups Projects
Commit 91d6b6de authored by Stephane Armanet's avatar Stephane Armanet
Browse files

add netbios hostname as variable for host with more than 15 chars names

parent 0c5ce72f
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
smb_interface: eth0 smb_interface: eth0
smb_domain: "TEST" smb_domain: "TEST"
smb_netbios_name: "{{ inventory_hostname_short }}"
sophos_pkg: http://artifactory.esss.lu.se/artifactory/swi-pkg/sophos/sophos-av.9.15.1.tar.bz2 sophos_pkg: http://artifactory.esss.lu.se/artifactory/swi-pkg/sophos/sophos-av.9.15.1.tar.bz2
sophos_install_opts: "--update-free --acceptlicence --autostart=true --enableOnBoot=true --automatic --ignore-existing-installation --update-source-type=f --update-period=1 --preferFanotify=true" sophos_install_opts: "--update-free --acceptlicence --autostart=true --enableOnBoot=true --automatic --ignore-existing-installation --update-source-type=f --update-period=1 --preferFanotify=true"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
[global] [global]
workgroup = {{ smb_domain }} workgroup = {{ smb_domain }}
security = ADS security = ADS
netbios name = "{{ smb_netbios_name }}"
log level = 3 log level = 3
log file = /var/log/samba/samba.log log file = /var/log/samba/samba.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment