From 6858f17766fcd6fd0f05c43393188b79d29be5e5 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 22 Oct 2020 17:57:02 +0200 Subject: Rework Ansible to support ipv6 --- os/config/roles/nomad/templates/nomad.hcl.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/config/roles/nomad/templates') 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" -- cgit v1.2.3