From: Guillaume Abrioux Date: Thu, 28 Apr 2022 08:46:35 +0000 (+0200) Subject: common: config rhcs tools repo on all nodes X-Git-Tag: v6.0.25.6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4339875f29cc582c5daf6d31337f3bf01a712b1f;p=ceph-ansible.git 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 (cherry picked from commit 380382a3c117036729a9d18456c43bee3cea60bd) --- diff --git a/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml b/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml index 8efaed0ff..cc8f37159 100644 --- a/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml +++ b/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml @@ -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