aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/nomad/templates/server.hcl.j2')
-rw-r--r--fdio.infra.ansible/roles/nomad/templates/server.hcl.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2 b/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
index f0ab223319..570d92e0c1 100644
--- a/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
+++ b/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
@@ -4,6 +4,7 @@ server {
{% if nomad_node_server | bool -%}
bootstrap_expect = {{ nomad_bootstrap_expect }}
{%- endif %}
+
{% if nomad_node_server | bool -%}
raft_protocol = 3
{%- endif %}