ensure job is on client
This commit is contained in:
@@ -7,6 +7,12 @@ job "code-snippets" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
constraint {
|
||||
operator = "="
|
||||
attribute = "${meta.machine_role}"
|
||||
value = "client"
|
||||
}
|
||||
|
||||
group "code-snippets" {
|
||||
count = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user