job "nomad-config-check" { datacenters = ["dc1"] type = "batch" group "check" { count = 1 constraint { attribute = "${attr.unique.hostname}" value = "odroid7" } task "config" { driver = "raw_exec" config { command = "grep" args = ["-r", "disable_script_checks", "/etc/nomad.d/"] } } } }