nomad/ansible/templates/nomad-base.hcl
2022-11-30 20:51:41 +00:00

10 lines
244 B
HCL

datacenter = {{ nomad_datacenter_name }}
data_dir = "/opt/nomad"
bind_addr = "0.0.0.0"
advertise {
http = "{{ ansible_default_ipv4[address] }}"
rpc = "{{ ansible_default_ipv4[address] }}"
serf = "{{ ansible_default_ipv4[address] }}"
}