Mohammed Naser | 0003fd0 | 2022-03-12 15:38:24 -0500 | [diff] [blame] | 1 | # 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 Naser | 33ddc7b | 2022-03-18 20:14:57 -0400 | [diff] [blame] | 16 | hosts: controllers:cephs |
Mohammed Naser | 0003fd0 | 2022-03-12 15:38:24 -0500 | [diff] [blame] | 17 | become: true |
| 18 | roles: |
Mohammed Naser | 92f1150 | 2022-08-10 17:24:32 -0400 | [diff] [blame^] | 19 | - role: ceph_repository |
| 20 | when: atmosphere_ceph_enabled | default(true) |
Mohammed Naser | 0003fd0 | 2022-03-12 15:38:24 -0500 | [diff] [blame] | 21 | |
Mohammed Naser | 33ddc7b | 2022-03-18 20:14:57 -0400 | [diff] [blame] | 22 | - name: Deploy Ceph monitors & managers |
| 23 | hosts: controllers |
Mohammed Naser | 0003fd0 | 2022-03-12 15:38:24 -0500 | [diff] [blame] | 24 | become: true |
| 25 | roles: |
Mohammed Naser | 92f1150 | 2022-08-10 17:24:32 -0400 | [diff] [blame^] | 26 | - role: ceph_mon |
| 27 | when: atmosphere_ceph_enabled | default(true) |
| 28 | - role: ceph_mgr |
| 29 | when: atmosphere_ceph_enabled | default(true) |
Mohammed Naser | 0003fd0 | 2022-03-12 15:38:24 -0500 | [diff] [blame] | 30 | |
| 31 | - name: Deploy Ceph OSDs |
Mohammed Naser | 33ddc7b | 2022-03-18 20:14:57 -0400 | [diff] [blame] | 32 | hosts: cephs |
Mohammed Naser | 0003fd0 | 2022-03-12 15:38:24 -0500 | [diff] [blame] | 33 | become: true |
| 34 | roles: |
Mohammed Naser | 92f1150 | 2022-08-10 17:24:32 -0400 | [diff] [blame^] | 35 | - role: ceph_osd |
| 36 | when: atmosphere_ceph_enabled | default(true) |