From 9cf34eec5edc0a64cda2cc58f98b2bef65e29a46 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 15 Jan 2015 15:25:42 +0200 Subject: distbuild admin: Fix restart.yaml --- distbuild/ansible/restart.yaml | 6 ++++-- 1 file 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 -- cgit v1.2.1