Skip to content

Commit 71cf666

Browse files
committed
common: config rhcs tools repo on all nodes
Otherwise `cephadm` can't be installed during cephadm-adopt.yml playbook execution. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2073480 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 1e11f87)
1 parent 081c170 commit 71cf666

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22
- name: enable red hat storage tools repository
33
rhsm_repository:
44
name: "rhceph-{{ ceph_rhcs_version }}-tools-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms"
5-
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)
5+
when:
6+
- mon_group_name in group_names
7+
of osd_group_name in group_names
8+
or mgr_group_name in group_names
9+
or rgw_group_name in group_names
10+
or mds_group_name in group_names
11+
or nfs_group_name in group_names
12+
or iscsi_gw_group_name in group_names
13+
or client_group_name in group_names
14+
or rbdmirror_group_name in group_names
15+
or monitoring_group_name in group_names

0 commit comments

Comments
 (0)