mirror of https://github.com/ceph/ceph-ansible.git
43 lines
633 B
Plaintext
43 lines
633 B
Plaintext
---
|
|
# Defines deployment design and assigns role to server groups
|
|
|
|
- hosts: mons # gather mon facts first before we process ceph-mon serially
|
|
tasks: []
|
|
|
|
- hosts: mons
|
|
become: True
|
|
gather_facts: false
|
|
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
|
|
|
|
- hosts: nfss
|
|
become: True
|
|
roles:
|
|
- ceph-nfs
|
|
|
|
- hosts: rbd_mirrors
|
|
become: True
|
|
roles:
|
|
- ceph-rbd-mirror
|
|
|
|
- hosts: restapis
|
|
become: True
|
|
roles:
|
|
- ceph-restapi
|