aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nomad
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nomad')
-rw-r--r--ansible/roles/nomad/files/nomad.service4
-rw-r--r--ansible/roles/nomad/tasks/main.yml2
2 files changed, 5 insertions, 1 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
diff --git a/ansible/roles/nomad/tasks/main.yml b/ansible/roles/nomad/tasks/main.yml
index e6e6e10..0b7b65c 100644
--- a/ansible/roles/nomad/tasks/main.yml
+++ b/ansible/roles/nomad/tasks/main.yml
@@ -1,6 +1,6 @@
- name: "Set nomad version"
set_fact:
- nomad_version: 0.8.6
+ nomad_version: 0.11.3
- name: "Download and install Nomad for armv7l"
unarchive: