diff options
author | Quentin Dufour <quentin@dufour.io> | 2021-07-02 13:11:29 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@dufour.io> | 2021-07-02 13:11:29 +0200 |
commit | 0a6ffcacd209a1693677f3839d427f471f8fd639 (patch) | |
tree | 17de3675d17568aa1e357939794e17a561ed83a4 /os/config/roles | |
parent | 2d61f1449dbcb502ba07bda6bdea387fdef2cbda (diff) | |
parent | 80c2f1f7013266335e17d2f5be7096dc25b7206a (diff) | |
download | infrastructure-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.yml | 1 | ||||
-rw-r--r-- | os/config/roles/nomad/templates/nomad.hcl.j2 | 11 |
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 + } +} + |