ceph-common: enable rhcs tools repo for monitoring

The monitoring node running grafana needs the rhcs tools repostory
enabled in non containerized deployment to be able to install the
ceph-grafana-dashboards rpm package.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1918650

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit e4dd0067c6)
guits-quick-test2.8
Dimitri Savineau 2021-02-03 10:28:24 -05:00 committed by Guillaume Abrioux
parent 3ba27c9387
commit 735965ef9c
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
- name: enable red hat storage tools repository - name: enable red hat storage tools repository
rhsm_repository: rhsm_repository:
name: "rhceph-{{ ceph_rhcs_version }}-tools-for-rhel-8-{{ ansible_architecture }}-rpms" name: "rhceph-{{ ceph_rhcs_version }}-tools-for-rhel-8-{{ ansible_architecture }}-rpms"
when: (mgr_group_name in group_names or rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names or iscsi_gw_group_name in group_names or client_group_name in group_names) when: (mgr_group_name in group_names or rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names or iscsi_gw_group_name in group_names or client_group_name in group_names or monitoring_group_name in group_names)
- name: "rhcs {{ ceph_rhcs_version }} on rhel 7" - name: "rhcs {{ ceph_rhcs_version }} on rhel 7"
when: ansible_distribution_major_version | int == 7 when: ansible_distribution_major_version | int == 7
@ -33,4 +33,4 @@
- name: enable red hat storage tools repository - name: enable red hat storage tools repository
rhsm_repository: rhsm_repository:
name: "rhel-7-server-rhceph-{{ ceph_rhcs_version }}-tools-rpms" name: "rhel-7-server-rhceph-{{ ceph_rhcs_version }}-tools-rpms"
when: (mgr_group_name in group_names or rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names or iscsi_gw_group_name in group_names or client_group_name in group_names) when: (mgr_group_name in group_names or rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names or iscsi_gw_group_name in group_names or client_group_name in group_names or monitoring_group_name in group_names)