From e9361a6c90c860620e08dc03d079d728aa0130ef Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 17 Oct 2022 21:44:55 +0200 Subject: [PATCH] switch datacenter --- nomad-job/dashboard.nomad | 2 +- nomad-job/pihole.nomad | 3 +++ nomad-job/radicale.nomad | 2 +- nomad-job/syncthing.nomad | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nomad-job/dashboard.nomad b/nomad-job/dashboard.nomad index 186885e..3ad4632 100644 --- a/nomad-job/dashboard.nomad +++ b/nomad-job/dashboard.nomad @@ -1,6 +1,6 @@ job "dashboard" { - datacenters = ["hetzner"] + datacenters = ["homelab"] type = "service" meta { forcedeploy = "1" diff --git a/nomad-job/pihole.nomad b/nomad-job/pihole.nomad index 06e4962..acdddf6 100644 --- a/nomad-job/pihole.nomad +++ b/nomad-job/pihole.nomad @@ -2,6 +2,9 @@ job "pihole" { datacenters = ["homelab"] priority= 100 + meta { + force = 1 + } type = "service" constraint { attribute = "${attr.unique.hostname}" diff --git a/nomad-job/radicale.nomad b/nomad-job/radicale.nomad index 466aa58..cffd650 100644 --- a/nomad-job/radicale.nomad +++ b/nomad-job/radicale.nomad @@ -1,6 +1,6 @@ job "radicale" { - datacenters = ["hetzner"] + datacenters = ["homelab"] type = "service" meta { forcedeploy = "0" diff --git a/nomad-job/syncthing.nomad b/nomad-job/syncthing.nomad index 014cc28..6ab5fbb 100644 --- a/nomad-job/syncthing.nomad +++ b/nomad-job/syncthing.nomad @@ -1,6 +1,6 @@ job "syncthing" { - datacenters = ["hetzner"] + datacenters = ["homelab"] type = "service" meta { forcedeploy = "0"