aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-01-28 08:47:01 +0000
committerPeter Mikus <pmikus@cisco.com>2021-01-28 09:02:36 +0000
commitba5dcdbecd4c009c832c2a186a58566a5ef4dc81 (patch)
tree9fda4f5d49f33c1b9f015c2a96909f16fa6255a4
parentf0285c8204ea74d3dedcc88609f5e64a79a2fd9a (diff)
Infra: Remove Consul TLS on clients (Nomad conflict)
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I7c825150a19dd783a255fcc5cbd31b91c6b0b2cf (cherry picked from commit 474163bc78aa418595b227c81056987b1114104d) (cherry picked from commit dae934efdf9c773b90cc4a9595d217dd55035561)
-rw-r--r--resources/tools/testbed-setup/ansible/roles/consul/templates/base.hcl.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/consul/templates/base.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/consul/templates/base.hcl.j2
index e220c8f687..536c48d847 100644
--- a/resources/tools/testbed-setup/ansible/roles/consul/templates/base.hcl.j2
+++ b/resources/tools/testbed-setup/ansible/roles/consul/templates/base.hcl.j2
@@ -25,11 +25,11 @@ auto_encrypt {
}
{% else %}
verify_incoming = false
-verify_outgoing = true
-verify_server_hostname = true
+verify_outgoing = false
+verify_server_hostname = false
ca_file = "{{ consul_ca_file }}"
auto_encrypt {
- tls = true
+ tls = false
}
{% endif %}
{% if consul_retry_join | bool -%}