aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nomad/files
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-06-16 17:01:38 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-06-16 17:01:38 +0200
commitb4bfbddd5416bde941ba9fa8d453c31ed27de1d3 (patch)
treec871927392f2b83f00b17767f39cd4b35806dd72 /ansible/roles/nomad/files
parente7ed8a49fb22e05066d3cf18f258aad0619a8e6b (diff)
downloadinfrastructure-b4bfbddd5416bde941ba9fa8d453c31ed27de1d3.tar.gz
infrastructure-b4bfbddd5416bde941ba9fa8d453c31ed27de1d3.zip
Some other fixes
Diffstat (limited to 'ansible/roles/nomad/files')
-rw-r--r--ansible/roles/nomad/files/nomad.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/ansible/roles/nomad/files/nomad.service b/ansible/roles/nomad/files/nomad.service
index 34dc1fc..50116be 100644
--- a/ansible/roles/nomad/files/nomad.service
+++ b/ansible/roles/nomad/files/nomad.service
@@ -1,9 +1,11 @@
[Unit]
Description=Nomad
After=network-online.target
-Wants=network-online.target
After=glusterd.service
+After=consul.service
+Wants=network-online.target
Wants=glusterd.service
+Wants=consul.service
[Service]
ExecStart=/usr/local/bin/nomad agent -config /etc/nomad