From 0d15ac8d01dc500741bba6d3d28b3581a49eca7f Mon Sep 17 00:00:00 2001 From: Liam Pietralla Date: Wed, 12 Nov 2025 14:11:19 +1100 Subject: [PATCH] ensure job is on client --- infra/nomad/code-snippets.nomad.hcl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infra/nomad/code-snippets.nomad.hcl b/infra/nomad/code-snippets.nomad.hcl index 1dc33e3..5a48a6f 100644 --- a/infra/nomad/code-snippets.nomad.hcl +++ b/infra/nomad/code-snippets.nomad.hcl @@ -7,6 +7,12 @@ job "code-snippets" { datacenters = ["dc1"] type = "service" + constraint { + operator = "=" + attribute = "${meta.machine_role}" + value = "client" + } + group "code-snippets" { count = 1