feat: use internal wrapper for consul registration
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s

This commit is contained in:
2026-02-07 18:14:19 -08:00
parent a10a50a6ea
commit 41874f0ace
14 changed files with 196 additions and 263 deletions

26
host-check.nomad Normal file
View File

@@ -0,0 +1,26 @@
job "host-check" {
datacenters = ["dc1"]
type = "batch"
constraint {
attribute = "${attr.unique.hostname}"
value = "odroid7"
}
group "check" {
task "ss" {
driver = "raw_exec"
config {
command = "ss"
args = ["-tln"]
}
}
task "ufw" {
driver = "raw_exec"
config {
command = "ufw"
args = ["status"]
}
}
}
}