]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: fix rhcs condition v3.0.38
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:24 +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 a171066b5dee43aa08080364764d8654b40f92ee..8806b8a49f242a4ea1e6cbcb06485d06ce46fb28 100644 (file)
@@ -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