common/templates/job_start

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 ]]