Add a job_start template
This commit is contained in:
parent
390e5099ed
commit
32a9bacc01
10
templates/job_start.tpl
Normal file
10
templates/job_start.tpl
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
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 ]]
|
||||
|
||||
# vim: syntax=hcl
|
Loading…
Reference in New Issue
Block a user