diff --git a/nomad-job/torrent_automation.nomad.hcl b/nomad-job/torrent_automation.nomad.hcl index 4a3dc77..b811f2b 100644 --- a/nomad-job/torrent_automation.nomad.hcl +++ b/nomad-job/torrent_automation.nomad.hcl @@ -9,7 +9,11 @@ job "torrent_automation" { attribute = "${attr.cpu.arch}" value = "amd64" } - + constraint { + attribute = "${node.class}" + operator = "set_contains" + value = "cluster" + } group "prowlarr"{ network { mode = "host" diff --git a/nomad-job/tt-rss.nomad b/nomad-job/tt-rss.nomad index 4ace685..939c242 100644 --- a/nomad-job/tt-rss.nomad +++ b/nomad-job/tt-rss.nomad @@ -7,7 +7,11 @@ job "tt-rss" { attribute = "${attr.cpu.arch}" value = "amd64" } - + constraint { + attribute = "${node.class}" + operator = "set_contains" + value = "cluster" + } group "ttrss" { ephemeral_disk {