job "disk-check" { datacenters = ["dc1"] type = "batch" group "check" { count = 6 # Check all nodes constraint { distinct_hosts = true } task "df" { driver = "raw_exec" config { command = "df" args = ["-h"] } } } }