From 71cf6669033e320934479005dd14cc42cfcfee95 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 28 Apr 2022 10:46:35 +0200 Subject: [PATCH] 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 1e11f879f6f535bcfc1ccf9788a990b0886ea72d) --- .../tasks/installs/prerequisite_rhcs_cdn_install.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 8efaed0ff1..cc8f37159d 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