fixes consul bind address

This commit is contained in:
James Hackett 2022-12-08 02:03:16 +00:00
parent d010988e56
commit 850b831f93

View file

@ -4,7 +4,7 @@ encrypt = "{{ consul_generated_encrypt_key }}"
verify_incoming = true
verify_outgoing = true
verify_server_hostname = true
bind_addr = "{% raw %}{{ GetPrivateInterfaces | include \"network\" \"10.10.0.0/24\" | attr \"address\" }}{% endraw %}"
bind_addr = "{% raw %}{{ GetPrivateInterfaces | include \"network\" \"10.0.0.0/8\" | attr \"address\" }}{% endraw %}"
client_addr = "0.0.0.0"
ca_file = "/etc/consul.d/consul-agent-ca.pem"