feat(ansible): Migrate Ubuntu Jammy IV.
[csit.git] / fdio.infra.ansible / roles / nomad / templates / server.hcl.j2
index 663ee3a..570d92e 100644 (file)
@@ -5,6 +5,10 @@ server {
         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 }}"
     {% endif %}