From 850b831f934b3f316970ef140fdecd3f40dfc38b Mon Sep 17 00:00:00 2001 From: James Hackett Date: Thu, 8 Dec 2022 02:03:16 +0000 Subject: [PATCH] fixes consul bind address --- ansible/templates/consul.hcl.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/templates/consul.hcl.j2 b/ansible/templates/consul.hcl.j2 index 769b727..a95d8dd 100644 --- a/ansible/templates/consul.hcl.j2 +++ b/ansible/templates/consul.hcl.j2 @@ -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"