aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles
diff options
context:
space:
mode:
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
+ }
+}
+