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:09 +0000
commitdae934efdf9c773b90cc4a9595d217dd55035561 (patch)
tree5c404daa7488b6b21ad09424ab819d740c059db7
parent95a7a55f4b7f77a1af8ddd8a8088896b7c8bcae5 (diff)
Infra: Remove Consul TLS on clients (Nomad conflict)
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I7c825150a19dd783a255fcc5cbd31b91c6b0b2cf (cherry picked from commit 474163bc78aa418595b227c81056987b1114104d)
-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 e220c8f..536c48d 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 -%}