aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-07-05 20:36:16 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-07-05 20:36:16 +0200
commitfaf39bbb282542efa237c39f4371918589508254 (patch)
treeee8d82b8640deed41acf13ab5cce94045ebc3081 /ansible/roles
parent81480fa1f99dc374fa1a444c34683187b7525b43 (diff)
downloadinfrastructure-faf39bbb282542efa237c39f4371918589508254.tar.gz
infrastructure-faf39bbb282542efa237c39f4371918589508254.zip
Fix docker volume
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/nomad/templates/nomad.hcl.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/nomad/templates/nomad.hcl.j2 b/ansible/roles/nomad/templates/nomad.hcl.j2
index 8107410..b0be6a8 100644
--- a/ansible/roles/nomad/templates/nomad.hcl.j2
+++ b/ansible/roles/nomad/templates/nomad.hcl.j2
@@ -26,5 +26,9 @@ client {
#cpu_total_compute = 4000
servers = ["127.0.0.1:4648"]
network_interface = "{{ interface }}"
+ options {
+ docker.privileged.enabled = "true"
+ docker.volumes.enabled = "true"
+ }
}