aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/nomad/templates/nomad.hcl.j2
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 17:57:02 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 17:57:02 +0200
commit6858f17766fcd6fd0f05c43393188b79d29be5e5 (patch)
treebd8225399059557be803302d0c45e3f62010ad55 /os/config/roles/nomad/templates/nomad.hcl.j2
parent5c31fbf0b12632b32912fa92be3d53b6e3902b91 (diff)
downloadinfrastructure-6858f17766fcd6fd0f05c43393188b79d29be5e5.tar.gz
infrastructure-6858f17766fcd6fd0f05c43393188b79d29be5e5.zip
Rework Ansible to support ipv6
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"