aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-07-02 13:11:29 +0200
committerQuentin Dufour <quentin@dufour.io>2021-07-02 13:11:29 +0200
commit0a6ffcacd209a1693677f3839d427f471f8fd639 (patch)
tree17de3675d17568aa1e357939794e17a561ed83a4 /os/config/roles
parent2d61f1449dbcb502ba07bda6bdea387fdef2cbda (diff)
parent80c2f1f7013266335e17d2f5be7096dc25b7206a (diff)
downloadinfrastructure-0a6ffcacd209a1693677f3839d427f471f8fd639.tar.gz
infrastructure-0a6ffcacd209a1693677f3839d427f471f8fd639.zip
Merge branch 'main' of git.deuxfleurs.fr:Deuxfleurs/infrastructure into main
Diffstat (limited to 'os/config/roles')
-rw-r--r--os/config/roles/common/tasks/main.yml1
-rw-r--r--os/config/roles/nomad/templates/nomad.hcl.j211
2 files changed, 12 insertions, 0 deletions
diff --git a/os/config/roles/common/tasks/main.yml b/os/config/roles/common/tasks/main.yml
index 3898c8f..e817451 100644
--- a/os/config/roles/common/tasks/main.yml
+++ b/os/config/roles/common/tasks/main.yml
@@ -29,6 +29,7 @@
- iftop
- iotop
- docker.io
+ - locales
- unzip
- tar
- tcpdump
diff --git a/os/config/roles/nomad/templates/nomad.hcl.j2 b/os/config/roles/nomad/templates/nomad.hcl.j2
index d1c0720..12acbd3 100644
--- a/os/config/roles/nomad/templates/nomad.hcl.j2
+++ b/os/config/roles/nomad/templates/nomad.hcl.j2
@@ -39,3 +39,14 @@ telemetry {
publish_allocation_metrics = true
publish_node_metrics = true
}
+
+plugin "docker" {
+ config {
+ pull_activity_timeout = "15m"
+ volumes {
+ enabled = true
+ }
+ allow_privileged = true
+ }
+}
+