Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(pxe): Migrate Ubuntu Jammy I.
[csit.git]
/
fdio.infra.ansible
/
roles
/
nomad
/
templates
/
server.hcl.j2
diff --git
a/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
b/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
index
663ee3a
..
f0ab223
100644
(file)
--- 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 -%}
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 }}"
{% if nomad_authoritative_region is defined %}
authoritative_region = "{{ nomad_authoritative_region }}"