From a5e4304eb1e1dfc8726f53b161ebecc5cafff3af Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Feb 2025 04:07:56 +0000 Subject: [PATCH] chore(media-centre): replace node id constraint with node name constraint --- modules/media-centre/jobspec.nomad.hcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/media-centre/jobspec.nomad.hcl b/modules/media-centre/jobspec.nomad.hcl index 881a0d6..2597cd3 100644 --- a/modules/media-centre/jobspec.nomad.hcl +++ b/modules/media-centre/jobspec.nomad.hcl @@ -5,8 +5,8 @@ job "media-centre" { driver = "docker" constraint { - attribute = "${node.unique.id}" - value = "3f6d897a-f755-5677-27c3-e3f0af1dfb7e" + attribute = "${node.unique.name}" + value = "Hestia" } config { @@ -73,8 +73,8 @@ job "media-centre" { driver = "docker" constraint { - attribute = "${node.unique.id}" - value = "3f6d897a-f755-5677-27c3-e3f0af1dfb7e" + attribute = "${node.unique.name}" + value = "Hestia" } config {