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 <seb@redhat.com>
(cherry picked from commit
fcf11ecc3567398f92b9f91e1a0749edb921131f)
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