2014-03-04 02:08:51 +08:00
|
|
|
---
|
|
|
|
# Defines deployment design and assigns role to server groups
|
|
|
|
|
|
|
|
- hosts: mons
|
|
|
|
sudo: True
|
|
|
|
roles:
|
2014-07-08 21:39:42 +08:00
|
|
|
- ceph-mon
|
2015-07-04 00:46:57 +08:00
|
|
|
- { role: ceph-restapi, when: restapi_group_name is defined and restapi_group_name in group_names }
|
2014-03-04 02:08:51 +08:00
|
|
|
|
|
|
|
- hosts: osds
|
|
|
|
sudo: True
|
|
|
|
roles:
|
2014-07-08 21:39:42 +08:00
|
|
|
- ceph-osd
|
2014-03-06 15:49:46 +08:00
|
|
|
|
|
|
|
- hosts: mdss
|
|
|
|
sudo: True
|
|
|
|
roles:
|
2014-07-08 21:39:42 +08:00
|
|
|
- ceph-mds
|
2014-03-06 20:54:37 +08:00
|
|
|
|
|
|
|
- hosts: rgws
|
|
|
|
sudo: True
|
|
|
|
roles:
|
2015-07-25 00:14:59 +08:00
|
|
|
- ceph-rgw
|