diff options
author | Alex Auvolat <alex@adnab.me> | 2020-05-21 15:27:09 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-07-15 16:03:33 +0200 |
commit | a4f9aa2d9830e9fdc3504a6d2842359ee4ab38f0 (patch) | |
tree | 3be24e19f8b7a88f36d49870b13f220a178b8f9f /ansible/roles/nomad | |
parent | 1a16fc7f9e54760cc09f676f0176b71654e32117 (diff) | |
download | infrastructure-a4f9aa2d9830e9fdc3504a6d2842359ee4ab38f0.tar.gz infrastructure-a4f9aa2d9830e9fdc3504a6d2842359ee4ab38f0.zip |
Set up wireguard in dev cluster
Diffstat (limited to 'ansible/roles/nomad')
-rw-r--r-- | ansible/roles/nomad/templates/nomad.hcl.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
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" } |