nomad/ansible/templates/nomad-base.hcl.j2
2023-09-01 01:13:46 +01:00

18 lines
No EOL
358 B
Django/Jinja

datacenter = "{{ nomad_datacenter_name }}"
data_dir = "/opt/nomad"
bind_addr = "0.0.0.0"
advertise {
http = "{{ ansible_host }}"
rpc = "{{ ansible_host }}"
serf = "{{ ansible_host }}"
}
telemetry {
collection_interval = "1s"
disable_hostname = true
prometheus_metrics = true
publish_allocation_metrics = true
publish_node_metrics = true
}