blob: 6cd02be4a33019fe88ea503304f61bfcd29131d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- hosts: controller
tasks:
- name: restart controller processes
service: name={{ item }} state=restarted
with_items:
- morph-controller-helper.service
- morph-controller.service
- hosts: workers
tasks:
- name: restart worker processes
service: name={{ item }} state=restarted
with_items:
- morph-worker-helper.service
- morph-worker.service
|