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

11 lines
195 B
Text
Raw Normal View History

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