aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-08-23 11:12:50 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-08-31 11:18:04 +0000
commit78298c31bbce82720af963cdb67e8997497379cc (patch)
tree414c536ac13b9f062c70b442e753932707d83cb1 /fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
parent51f2df5d4ccbe3e6513d984fce8a42b07f31874c (diff)
feat(ansible): Nomad update
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I67563590ea44c3d59090dc66acd4ef64f8a05f45
Diffstat (limited to 'fdio.infra.ansible/roles/nomad/templates/server.hcl.j2')
-rw-r--r--fdio.infra.ansible/roles/nomad/templates/server.hcl.j22
1 files changed, 2 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 570d92e0c1..e19dea9e6f 100644
--- a/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
+++ b/fdio.infra.ansible/roles/nomad/templates/server.hcl.j2
@@ -1,3 +1,4 @@
+{% if nomad_node_server | bool == True %}
server {
enabled = {{ nomad_node_server | bool | lower }}
@@ -54,3 +55,4 @@ server {
{%- endif %}
}
+{% endif %} \ No newline at end of file