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 <gabrioux@ibm.com>
  • Loading branch information
guits committed Feb 13, 2024
1 parent fbc8da4 commit d277280
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
tags: with_pkg
when: ansible_facts['distribution_major_version'] | int == 7

- name: enable crb repository
ansible.builtin.yum_repository:
name: crb
enabled: yes
when:
- ansible_facts['distribution_major_version'] | int == 9
- inventory_hostname in groups[mgr_group_name]

- name: configure red hat ceph community repository stable key
rpm_key:
key: "{{ ceph_stable_key }}"
Expand Down

0 comments on commit d277280

Please sign in to comment.