2016-02-08 05:30:32 +08:00
|
|
|
---
|
|
|
|
# Defines deployment design and assigns role to server groups
|
|
|
|
|
2016-08-23 01:42:27 +08:00
|
|
|
- hosts: mons # gather mon facts first before we process ceph-mon serially
|
2016-08-22 16:35:24 +08:00
|
|
|
tasks: []
|
|
|
|
|
2016-02-08 05:30:32 +08:00
|
|
|
- hosts: mons
|
|
|
|
become: True
|
2016-08-23 01:42:27 +08:00
|
|
|
gather_facts: false
|
2016-02-08 05:30:32 +08:00
|
|
|
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-08-23 02:23:48 +08:00
|
|
|
- hosts: rbd_mirrors
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-rbd-mirror
|
|
|
|
|
2016-02-08 05:30:32 +08:00
|
|
|
- hosts: restapis
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-restapi
|
2017-03-16 17:17:08 +08:00
|
|
|
|
|
|
|
- hosts: mgrs
|
|
|
|
become: True
|
|
|
|
roles:
|
|
|
|
- ceph-mgr
|