aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/nomad
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 18:55:29 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 18:55:29 +0200
commit3b75213d4077b4dbbad1fe43c22beaecf4e815d6 (patch)
treecc2c8aea67333e2df7320c9a225cd585c78421ee /os/config/roles/nomad
parent5c31fbf0b12632b32912fa92be3d53b6e3902b91 (diff)
parentb53b71f750008267351d84938b4701413f045628 (diff)
downloadinfrastructure-3b75213d4077b4dbbad1fe43c22beaecf4e815d6.tar.gz
infrastructure-3b75213d4077b4dbbad1fe43c22beaecf4e815d6.zip
We now have IPv6 activated on our network interfaces!
Diffstat (limited to 'os/config/roles/nomad')
-rw-r--r--os/config/roles/nomad/tasks/main.yml2
-rw-r--r--os/config/roles/nomad/templates/nomad.hcl.j26
2 files changed, 4 insertions, 4 deletions
diff --git a/os/config/roles/nomad/tasks/main.yml b/os/config/roles/nomad/tasks/main.yml
index 7c73362..db519d5 100644
--- a/os/config/roles/nomad/tasks/main.yml
+++ b/os/config/roles/nomad/tasks/main.yml
@@ -1,6 +1,6 @@
- name: "Set nomad version"
set_fact:
- nomad_version: 0.12.0-beta2
+ nomad_version: 0.12.6
- name: "Download and install Nomad for x86_64"
unarchive:
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"