diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-01-15 15:25:42 +0200 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-01-15 15:25:42 +0200 |
commit | 9cf34eec5edc0a64cda2cc58f98b2bef65e29a46 (patch) | |
tree | b407ce6e9ce5a4fb7df5def9b499dffd20768216 | |
parent | becc5c2f753c984f7418ef44467f129ad66ed512 (diff) | |
download | morph-9cf34eec5edc0a64cda2cc58f98b2bef65e29a46.tar.gz |
distbuild admin: Fix restart.yaml
-rw-r--r-- | distbuild/ansible/restart.yaml | 6 |
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 |