12 lines
300 B
Plaintext
12 lines
300 B
Plaintext
|
|
datacenters = [[ .nomad.datacenters | toJSON ]]
|
|
[[- if has .nomad "region" ]]
|
|
region = [[ .nomad.region | toJSON ]]
|
|
[[- end ]]
|
|
[[- if has .nomad "node_pool" ]]
|
|
node_pool = [[ .nomad.node_pool | toJSON ]]
|
|
[[- end ]]
|
|
[[- if has .nomad "priority" ]]
|
|
priority = [[ .nomad.priority ]]
|
|
[[- end ]]
|