aboutsummaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorLUXEY Adrien <adrien.luxey@inria.fr>2020-12-10 09:09:34 +0100
committerLUXEY Adrien <adrien.luxey@inria.fr>2020-12-10 09:09:34 +0100
commitad064dddbc1e226d23b62baa799871b675bbdfb6 (patch)
tree21510004236c9f8011b141cd39be4a10536e711b /os
parent2b3df5b6ee7f1dff25f2b96ece365b1555b5f609 (diff)
parent9c947a458f66e554c3d0cfda1fb1a42b4fafba25 (diff)
downloadinfrastructure-ad064dddbc1e226d23b62baa799871b675bbdfb6.tar.gz
infrastructure-ad064dddbc1e226d23b62baa799871b675bbdfb6.zip
Merge branch 'master' of git.deuxfleurs.fr:Deuxfleurs/infrastructure
Diffstat (limited to 'os')
-rw-r--r--os/config/roles/nomad/tasks/main.yml2
-rw-r--r--os/config/roles/nomad/templates/nomad.hcl.j27
2 files changed, 8 insertions, 1 deletions
diff --git a/os/config/roles/nomad/tasks/main.yml b/os/config/roles/nomad/tasks/main.yml
index db519d5..c79013e 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.6
+ nomad_version: 0.12.9
- 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 b5d5d46..d1c0720 100644
--- a/os/config/roles/nomad/templates/nomad.hcl.j2
+++ b/os/config/roles/nomad/templates/nomad.hcl.j2
@@ -32,3 +32,10 @@ client {
}
}
+telemetry {
+ collection_interval = "1s"
+ disable_hostname = false
+ prometheus_metrics = true
+ publish_allocation_metrics = true
+ publish_node_metrics = true
+}