2014-03-04 02:08:51 +08:00
|
|
|
---
|
|
|
|
# Defines deployment design and assigns role to server groups
|
|
|
|
|
2014-06-26 15:52:06 +08:00
|
|
|
- hosts:
|
|
|
|
- mons
|
|
|
|
- osds
|
|
|
|
- mdss
|
|
|
|
- rgws
|
2015-04-14 18:53:41 +08:00
|
|
|
- clients # Kernel RBD does NOT support signatures for Kernels < 3.18! Make sure to set cephx_require_signatures: false
|
2014-03-04 02:08:51 +08:00
|
|
|
sudo: True
|
|
|
|
roles:
|
2015-01-21 01:43:47 +08:00
|
|
|
- { role: ceph-common, when: not docker }
|
2014-03-04 02:08:51 +08:00
|
|
|
|
|
|
|
- hosts: mons
|
|
|
|
sudo: True
|
|
|
|
roles:
|
2014-07-08 21:39:42 +08:00
|
|
|
- ceph-mon
|
2015-04-14 17:40:58 +08:00
|
|
|
- { role: ceph-restapi, when: restapi }
|
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:
|
2014-07-08 21:39:42 +08:00
|
|
|
- ceph-radosgw
|