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
Sébastien Han 2018-07-04 16:39:33 +02:00 committed by Guillaume Abrioux
parent f8fd590fe8
commit fcf11ecc35
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
register: rhcs_mon_repo register: rhcs_mon_repo
check_mode: no check_mode: no
when: 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 - name: enable red hat storage monitor repository
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms