mirror of https://github.com/ceph/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 <seb@redhat.com>pull/2850/head
parent
f8fd590fe8
commit
fcf11ecc35
|
@ -6,7 +6,7 @@
|
|||
register: rhcs_mon_repo
|
||||
check_mode: no
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue