---
# Defines deployment design and assigns role to server groups

- hosts: mons
  sudo: True
  roles:
  - ceph-mon
  - { role: ceph-restapi, when: restapi_group_name is defined and restapi_group_name in group_names }

- hosts: osds
  sudo: True
  roles:
  - ceph-osd

- hosts: mdss
  sudo: True
  roles:
  - ceph-mds

- hosts: rgws
  sudo: True
  roles:
  - ceph-rgw

---
# Defines deployment design and assigns role to server groups

- hosts: mons
  sudo: True
  roles:
  - ceph-mon
  - { role: ceph-restapi, when: restapi_group_name is defined and restapi_group_name in group_names }
  #serial: 1 # ENABLE THIS WHEN DEPLOYING MONITORS ON DOCKER CONTAINERS

- hosts: osds
  sudo: True
  roles:
  - ceph-osd

- hosts: mdss
  sudo: True
  roles:
  - ceph-mds

- hosts: rgws
  sudo: True
  roles:
  - ceph-rgw

Use serial to deploy ceph-mon in docker
Use serial to deploy ceph-mon in docker

If we don't do this we will hand up having N separate clusters.

Signed-off-by: Sébastien Han <62d754cc350e84d3b1c32ae79f976f5348e74a40@redhat.com>
