infra/ansible/roles/nomad_server/templates/nomad.hcl.j2

12 lines
216 B
Text
Raw Normal View History

datacenter = "{{ main_dc_name }}"
data_dir = "/opt/nomad"
server {
enabled = true
bootstrap_expect = 1
}
consul {
token = "{{ lookup('hashi_vault', 'secret=kv/data/nomad:data')['consul-acl-server'] }}"
}