]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: config rhcs tools repo on all nodes
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Apr 2022 08:46:35 +0000 (10:46 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 12 May 2022 20:51:31 +0000 (22:51 +0200)
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>
roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml

index 8efaed0ff1e54caf63a4daf9ef10e74940783a9a..cc8f37159dbbc0828d1cd0d2dc6154f98c49662f 100644 (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