aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nomad/files/nomad.service
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nomad/files/nomad.service')
-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