aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/nomad/templates/nomad.hcl.j2
diff options
context:
space:
mode:
Diffstat (limited to 'os/config/roles/nomad/templates/nomad.hcl.j2')
-rw-r--r--os/config/roles/nomad/templates/nomad.hcl.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/os/config/roles/nomad/templates/nomad.hcl.j2 b/os/config/roles/nomad/templates/nomad.hcl.j2
index b0be6a8..37952db 100644
--- a/os/config/roles/nomad/templates/nomad.hcl.j2
+++ b/os/config/roles/nomad/templates/nomad.hcl.j2
@@ -5,9 +5,9 @@ addresses {
}
advertise {
- http = "{{ public_ip }}"
- rpc = "{{ public_ip }}"
- serf = "{{ public_ip }}"
+ http = "{{ ipv4 }}"
+ rpc = "{{ ipv4 }}"
+ serf = "{{ ipv4 }}"
}
data_dir = "/var/lib/nomad"