From: Sébastien Han Date: Wed, 4 Jul 2018 14:39:33 +0000 (+0200) Subject: ceph-common: fix rhcs condition X-Git-Tag: v3.0.38 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db49533d09db2d45073a8d9a046a94a17ec973de;p=ceph-ansible.git ceph-common: fix rhcs condition We forgot to add mgr_group_name when checking for the mon repo, thus the conditional on the next task was failing. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1598185 Signed-off-by: Sébastien Han (cherry picked from commit fcf11ecc3567398f92b9f91e1a0749edb921131f) --- 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 a171066b5..8806b8a49 100644 --- a/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml +++ b/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml @@ -6,7 +6,7 @@ register: rhcs_mon_repo always_run: true when: - - mon_group_name in group_names + - (mon_group_name in group_names or mgr_group_name in group_names) - name: enable red hat storage monitor repository command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms