aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nomad/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nomad/templates')
-rw-r--r--ansible/roles/nomad/templates/nomad.hcl.j28
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"
}