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

17 lines
283 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'] }}"
}
2020-10-01 00:59:50 +00:00
plugin_dir = "/opt/nomad_plugins"
plugin "nomad-driver-podman" {
enabled = true
}