]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: fix rhcs condition
authorSébastien Han <seb@redhat.com>
Wed, 4 Jul 2018 14:39:33 +0000 (16:39 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Jul 2018 15:18:10 +0000 (17:18 +0200)
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)

roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml

index fab01d99b92fb05715d628c3c83aa3c6aea5fac7..04461a4d180905e848470777120a18383efb735d 100644 (file)
@@ -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