From b4bfbddd5416bde941ba9fa8d453c31ed27de1d3 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 16 Jun 2020 17:01:38 +0200 Subject: Some other fixes --- ansible/roles/nomad/files/nomad.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ansible/roles/nomad') 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 -- cgit v1.2.3