2016-02-08 05:30:32 +08:00
|
|
|
---
|
|
|
|
# Defines deployment design and assigns role to server groups
|
|
|
|
|
|
|
|
- hosts: mons
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-mon
|
|
|
|
serial: 1 # MUST be '1' WHEN DEPLOYING MONITORS ON DOCKER CONTAINERS
|
|
|
|
|
|
|
|
- hosts: osds
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-osd
|
|
|
|
|
|
|
|
- hosts: mdss
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-mds
|
|
|
|
|
|
|
|
- hosts: rgws
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-rgw
|
|
|
|
|
2016-05-06 02:20:03 +08:00
|
|
|
- hosts: nfss
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-nfs
|
|
|
|
|
2016-02-08 05:30:32 +08:00
|
|
|
- hosts: restapis
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-restapi
|