25 lines
476 B
Django/Jinja
25 lines
476 B
Django/Jinja
datacenter = "{{ main_dc_name }}"
|
|
data_dir = "/opt/nomad"
|
|
|
|
client {
|
|
enabled = true
|
|
}
|
|
|
|
consul {
|
|
token = "{{ lookup('hashi_vault', 'secret=kv/data/nomad:data')['consul-acl-client'] }}"
|
|
}
|
|
|
|
tls {
|
|
http = true
|
|
rpc = true
|
|
ca_file = "/etc/pki/certs/{{ vault_ca_cert_name }}"
|
|
cert_file = "/etc/nomad.d/certs/nomad.pem"
|
|
key_file = "/etc/nomad.d/certs/nomad.key"
|
|
}
|
|
|
|
plugin_dir = "/opt/nomad_plugins"
|
|
|
|
plugin "nomad-driver-podman" {
|
|
enabled = true
|
|
}
|