forked from usmqe/usmqe-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservices.skyrings.yml
45 lines (37 loc) · 1.13 KB
/
services.skyrings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
# This just starts/stops all skyring services across the cluster.
# Created to help with SELinux policy development.
#
# Usage:
# ansible-playbook -i usm2.hosts --extra-vars service_state=started services.skyrings.yml
- name: Start/Stop all services on Skyrings server
hosts: "usm_server"
remote_user: root
tasks:
- name: Start/Stop Skyring
service: name=skyring state={{ service_state }}
- name: Start/Stop other services
service: name={{ item }} state={{ service_state }}
with_items:
- salt-master
- ceph-installer
- ceph-installer-celery
- carbon-cache
- httpd
- rabbitmq-server
- mongod
- libstoragemgmt
- name: Start/Stop all services on all Ceph Storage Nodes (MONs and OSDs)
hosts: "ceph_osd:ceph_mon"
remote_user: root
tasks:
- name: Start/Stop Skynet
service: name=skynetd state={{ service_state }}
- name: Start/Stop all other services
service: name={{ item }} state={{ service_state }}
with_items:
- salt-minion
- collectd
- salt-minion
- storaged
- libstoragemgmt