From a4f9aa2d9830e9fdc3504a6d2842359ee4ab38f0 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 21 May 2020 15:27:09 +0200 Subject: Set up wireguard in dev cluster --- ansible/roles/nomad/templates/nomad.hcl.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ansible/roles/nomad/templates') diff --git a/ansible/roles/nomad/templates/nomad.hcl.j2 b/ansible/roles/nomad/templates/nomad.hcl.j2 index b0be6a8..8d62d9b 100644 --- a/ansible/roles/nomad/templates/nomad.hcl.j2 +++ b/ansible/roles/nomad/templates/nomad.hcl.j2 @@ -5,9 +5,9 @@ addresses { } advertise { - http = "{{ public_ip }}" - rpc = "{{ public_ip }}" - serf = "{{ public_ip }}" + http = "{{ vpn_ip }}" + rpc = "{{ vpn_ip }}" + serf = "{{ vpn_ip }}" } data_dir = "/var/lib/nomad" @@ -25,10 +25,10 @@ client { enabled = true #cpu_total_compute = 4000 servers = ["127.0.0.1:4648"] - network_interface = "{{ interface }}" options { docker.privileged.enabled = "true" docker.volumes.enabled = "true" } + network_interface = "wgdeuxfleurs" } -- cgit v1.2.3