]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: fix ceph install for centos distros 627/head
authorSébastien Han <seb@redhat.com>
Tue, 15 Mar 2016 15:35:29 +0000 (16:35 +0100)
committerSébastien Han <seb@redhat.com>
Thu, 17 Mar 2016 10:55:33 +0000 (11:55 +0100)
closes: #616

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-common/tasks/installs/install_on_redhat.yml

index 670e529ef6693b8028bf779f209267b8bd5bfee9..da0ce967e2c39f39e8a37c973c469d721919c478 100644 (file)
@@ -46,7 +46,9 @@
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage) and
     mon_group_name in group_names and
-    ansible_pkg_mgr == "yum"
+    ansible_pkg_mgr == "yum" and
+    ceph_stable and
+    ceph_stable_release not in ceph_stable_releases
 
 - name: install distro or red hat storage ceph mon
   dnf:
@@ -58,7 +60,9 @@
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage) and
     mon_group_name in group_names and
-    ansible_pkg_mgr == "dnf"
+    ansible_pkg_mgr == "dnf" and
+    ceph_stable and
+    ceph_stable_release not in ceph_stable_releases
 
 - name: install distro or red hat storage ceph osd
   yum:
@@ -70,7 +74,9 @@
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage) and
     osd_group_name in group_names and
-    ansible_pkg_mgr == "yum"
+    ansible_pkg_mgr == "yum" and
+    ceph_stable and
+    ceph_stable_release not in ceph_stable_releases
 
 - name: install distro or red hat storage ceph osd
   dnf:
@@ -82,7 +88,9 @@
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage) and
     osd_group_name in group_names and
-    ansible_pkg_mgr == "dnf"
+    ansible_pkg_mgr == "dnf" and
+    ceph_stable and
+    ceph_stable_release not in ceph_stable_releases
 
 - name: install ceph-test
   yum: