summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-15 15:25:42 +0200
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-15 15:25:42 +0200
commit9cf34eec5edc0a64cda2cc58f98b2bef65e29a46 (patch)
treeb407ce6e9ce5a4fb7df5def9b499dffd20768216
parentbecc5c2f753c984f7418ef44467f129ad66ed512 (diff)
downloadmorph-9cf34eec5edc0a64cda2cc58f98b2bef65e29a46.tar.gz
distbuild admin: Fix restart.yaml
-rw-r--r--distbuild/ansible/restart.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/distbuild/ansible/restart.yaml b/distbuild/ansible/restart.yaml
index 3459bbec..2d16087e 100644
--- a/distbuild/ansible/restart.yaml
+++ b/distbuild/ansible/restart.yaml
@@ -9,18 +9,20 @@
# You will need a file named 'distbuild-hosts' describing your distbuild
# network.
---
+
+# The order in which the processes are restarted is important! (Sadly).
- hosts: controller
tasks:
- name: restart controller processes
service: name={{ item }} state=restarted
with_items:
- - morph-controller-helper.service
- morph-controller.service
+ - morph-controller-helper.service
- hosts: workers
tasks:
- name: restart worker processes
service: name={{ item }} state=restarted
with_items:
- - morph-worker-helper.service
- morph-worker.service
+ - morph-worker-helper.service