blob: 6fb2c9ce6fc5d6daaf5c36614726e33882a3c5fb [file] [log] [blame]
Mohammed Naser0003fd02022-03-12 15:38:24 -05001# Copyright (c) 2022 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15- name: Setup Ceph repository
Mohammed Naser33ddc7b2022-03-18 20:14:57 -040016 hosts: controllers:cephs
Mohammed Naser0003fd02022-03-12 15:38:24 -050017 become: true
18 roles:
Mohammed Naser92f11502022-08-10 17:24:32 -040019 - role: ceph_repository
20 when: atmosphere_ceph_enabled | default(true)
Mohammed Naser0003fd02022-03-12 15:38:24 -050021
Mohammed Naser33ddc7b2022-03-18 20:14:57 -040022- name: Deploy Ceph monitors & managers
23 hosts: controllers
Mohammed Naser0003fd02022-03-12 15:38:24 -050024 become: true
25 roles:
Mohammed Naser92f11502022-08-10 17:24:32 -040026 - role: ceph_mon
27 when: atmosphere_ceph_enabled | default(true)
28 - role: ceph_mgr
29 when: atmosphere_ceph_enabled | default(true)
Mohammed Naser0003fd02022-03-12 15:38:24 -050030
31- name: Deploy Ceph OSDs
Mohammed Naser33ddc7b2022-03-18 20:14:57 -040032 hosts: cephs
Mohammed Naser0003fd02022-03-12 15:38:24 -050033 become: true
34 roles:
Mohammed Naser92f11502022-08-10 17:24:32 -040035 - role: ceph_osd
36 when: atmosphere_ceph_enabled | default(true)