mirror of
https://github.com/natelandau/ansible-homelab-config.git
synced 2025-11-18 09:53:41 -05:00
refactor(jobs): remove device specific constraints
This commit is contained in:
@@ -4,9 +4,9 @@ job "influxdb" {
|
|||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
// constraint {
|
// constraint {
|
||||||
// attribute = "${node.unique.name}"
|
// attribute = "${attr.cpu.arch}"
|
||||||
// operator = "regexp"
|
// operator = "regexp"
|
||||||
// value = "rpi"
|
// value = "64"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
update {
|
update {
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ job "prowlarr" {
|
|||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
// constraint {
|
// constraint {
|
||||||
// attribute = "${node.unique.name}"
|
// attribute = "${attr.cpu.arch}"
|
||||||
// operator = "regexp"
|
// operator = "regexp"
|
||||||
// value = "rpi4"
|
// value = "64"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
update {
|
update {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ job "radarr" {
|
|||||||
// constraint {
|
// constraint {
|
||||||
// attribute = "${node.unique.name}"
|
// attribute = "${node.unique.name}"
|
||||||
// operator = "regexp"
|
// operator = "regexp"
|
||||||
// value = "rpi"
|
// value = "rpi3"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
update {
|
update {
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ job "readarr" {
|
|||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
// constraint {
|
// constraint {
|
||||||
// attribute = "${node.unique.name}"
|
// attribute = "${attr.cpu.arch}"
|
||||||
// operator = "regexp"
|
// operator = "regexp"
|
||||||
// value = "rpi4"
|
// value = "64"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
update {
|
update {
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ job "sonarr" {
|
|||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
// constraint {
|
// constraint {
|
||||||
// attribute = "${node.unique.name}"
|
// attribute = "${attr.cpu.arch}"
|
||||||
// operator = "regexp"
|
// operator = "regexp"
|
||||||
// value = "macmini"
|
// value = "64"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
update {
|
update {
|
||||||
|
|||||||
@@ -9,6 +9,13 @@ job "syncthing" {
|
|||||||
value = "rpi"
|
value = "rpi"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// constraint {
|
||||||
|
// attribute = "${attr.cpu.arch}"
|
||||||
|
// operator = "regexp"
|
||||||
|
// value = "64"
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
update {
|
update {
|
||||||
max_parallel = 1
|
max_parallel = 1
|
||||||
health_check = "checks"
|
health_check = "checks"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ job "whoogle" {
|
|||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
// constraint {
|
// constraint {
|
||||||
// attribute = "${node.unique.name}"
|
// attribute = "${attr.cpu.arch}"
|
||||||
// operator = "regexp"
|
// operator = "regexp"
|
||||||
// value = "rpi(1|2|3)"
|
// value = "64"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
update {
|
update {
|
||||||
|
|||||||
Reference in New Issue
Block a user