jenkins0: Bind Samba to real interface only
Because *jenkins0.pyrocufflink.blue* runs Docker, it has an extra virtual interface and IP address, for container communication. By default, Samba registers all IP addresses in DNS, and cannot differentiate between the actual interface and the Docker bridge. This can cause other hosts to attempt to contact *jenkins0.pyrocufflink.blue* using the wrong address. The `samba_interfaces` variable controls the value of the `interfaces` global configuration option for Samba. One of the things this option controls is which addresses to register in DNS. By setting it to the network address of the *pyrocufflink.blue* network, we can prevent the virtual address from being used at all.jenkins-master
parent
4ccab4bd40
commit
284e3817e0
|
@ -0,0 +1,2 @@
|
|||
samba_interfaces:
|
||||
- '{{ dch_networks.blue.ipv4_address }}'
|
Loading…
Reference in New Issue