Skip to content

Commit

Permalink
common: enable crb repository on mgr hosts
Browse files Browse the repository at this point in the history
This is needed in order to install `ceph-mgr-dashboard`
as it has a dependency on `python3-grpcio-tools` which comes from
crb repo.

Signed-off-by: Guillaume Abrioux <[email protected]>
  • Loading branch information
guits committed Feb 13, 2024
1 parent fbc8da4 commit 6b185a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/ceph-mgr/tasks/pre_requisite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
- ansible_facts['os_family'] != 'RedHat'
- ansible_facts['distribution_major_version'] | int != 7

- name: enable crb repository
ansible.builtin.yum_repository:
name: crb
enabled: yes
when:
- ansible_facts['os_family'] == 'RedHat'
- ansible_facts['distribution_major_version'] | int == 9

- name: install ceph-mgr packages on RedHat or SUSE
package:
name: '{{ ceph_mgr_packages }}'
Expand Down

0 comments on commit 6b185a3

Please sign in to comment.