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 380382a3c1)
rhcs-5.1 v6.0.25.6
Guillaume Abrioux 2022-04-28 10:46:35 +02:00
parent 6766b09acd
commit 4339875f29
1 changed files with 11 additions and 1 deletions

View File

@ -2,4 +2,14 @@
- name: enable red hat storage tools repository
rhsm_repository:
name: "rhceph-{{ ceph_rhcs_version }}-tools-for-rhel-8-{{ ansible_facts['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 or monitoring_group_name in group_names)
when:
- mon_group_name in group_names
of osd_group_name in group_names
or 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 rbdmirror_group_name in group_names
or monitoring_group_name in group_names