aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/nomad/templates
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-07-07 10:00:02 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-08-03 08:10:02 +0000
commit82b34c726b4eb93fbb8ca48b491dd7da65cb813b (patch)
tree4a77f69dd8a212f5759ba8f2c538564a90546a7e /fdio.infra.ansible/roles/nomad/templates
parentdc200e7f96297b3bccecb88b4e951b142617734b (diff)
feat(pxe): Migrate Ubuntu Jammy I.
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I8f79882fce6375a55d67167781fc6b4212934e06
Diffstat (limited to 'fdio.infra.ansible/roles/nomad/templates')
-rw-r--r--fdio.infra.ansible/roles/nomad/templates/server.hcl.j23
1 files changed, 3 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 663ee3a549..f0ab223319 100644
--- a/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
+++ b/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
@@ -4,6 +4,9 @@ server {
{% if nomad_node_server | bool -%}
bootstrap_expect = {{ nomad_bootstrap_expect }}
{%- endif %}
+ {% if nomad_node_server | bool -%}
+ raft_protocol = 3
+ {%- endif %}
{% if nomad_authoritative_region is defined %}
authoritative_region = "{{ nomad_authoritative_region }}"