aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nomad/files
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-06-16 16:28:24 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-06-16 16:28:24 +0200
commite7ed8a49fb22e05066d3cf18f258aad0619a8e6b (patch)
tree9bd3fb02785195b8dfedae68d1254a5f6e6e311c /ansible/roles/nomad/files
parent3534ba1a19844e55982cb773599671d2fdb4be02 (diff)
downloadinfrastructure-e7ed8a49fb22e05066d3cf18f258aad0619a8e6b.tar.gz
infrastructure-e7ed8a49fb22e05066d3cf18f258aad0619a8e6b.zip
Update local scripts
Diffstat (limited to 'ansible/roles/nomad/files')
-rw-r--r--ansible/roles/nomad/files/nomad.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/nomad/files/nomad.service b/ansible/roles/nomad/files/nomad.service
index cabfafc..34dc1fc 100644
--- a/ansible/roles/nomad/files/nomad.service
+++ b/ansible/roles/nomad/files/nomad.service
@@ -1,5 +1,9 @@
[Unit]
Description=Nomad
+After=network-online.target
+Wants=network-online.target
+After=glusterd.service
+Wants=glusterd.service
[Service]
ExecStart=/usr/local/bin/nomad agent -config /etc/nomad