C-Dash: replace s3-logs by logs
[csit.git] / fdio.infra.ansible / roles / nomad / templates / server.hcl.j2
index f0ab223..e19dea9 100644 (file)
@@ -1,9 +1,11 @@
+{% if nomad_node_server | bool == True %}
 server {
     enabled = {{ nomad_node_server | bool | lower }}
 
     {% if nomad_node_server | bool -%}
         bootstrap_expect = {{ nomad_bootstrap_expect }}
     {%- endif %}
+
     {% if nomad_node_server | bool -%}
         raft_protocol = 3
     {%- endif %}
@@ -53,3 +55,4 @@ server {
     {%- endif %}
 
 }
+{% endif %}
\ No newline at end of file