]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Sebastien's suggestion - add infernalis to list of releases with no separate ceph... 684/head
authorBen England <bengland@redhat.com>
Wed, 6 Apr 2016 17:14:24 +0000 (13:14 -0400)
committerBen England <bengland@redhat.com>
Wed, 6 Apr 2016 17:14:24 +0000 (13:14 -0400)
roles/ceph-common/tasks/installs/install_on_redhat.yml

index b079a4dbed5946b0cea9c334d3242fd6d73cf9f6..f4541ebfd2092dac093713e150f08d1689154299 100644 (file)
     state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
   when: not ceph_stable_rh_storage
 
+# include Infernalis in the set of releases that do not have
+# a separate ceph-mon package or ceph-osd package
+# Note: Red Hat Ceph Storage is different, DOES separate them even in hammer
+
+- set_fact: > 
+    ceph_stable_rel_pkg="{{ ceph_stable_releases | union([ 'infernalis' ]) }}"
+
 - name: install distro or red hat storage ceph mon
   yum:
     name: "{{ item }}"
@@ -45,7 +52,7 @@
     - ceph-mon
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage or
-     (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
+     (ceph_stable and ceph_stable_release not in ceph_stable_rel_pkg)) and
     mon_group_name in group_names and
     ansible_pkg_mgr == "yum"
 
@@ -58,7 +65,7 @@
     - ceph-mon
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage or
-     (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
+     (ceph_stable and ceph_stable_release not in ceph_stable_rel_pkg)) and
     mon_group_name in group_names and
     ansible_pkg_mgr == "dnf"
 
@@ -71,7 +78,7 @@
     - ceph-osd
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage or
-     (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
+     (ceph_stable and ceph_stable_release not in ceph_stable_rel_pkg)) and
     osd_group_name in group_names and
     ansible_pkg_mgr == "yum"
 
@@ -84,7 +91,7 @@
     - ceph-osd
   when:
     (ceph_origin == "distro" or ceph_stable_rh_storage or
-     (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
+     (ceph_stable and ceph_stable_release not in ceph_stable_rel_pkg)) and
     osd_group_name in group_names and
     ansible_pkg_mgr == "dnf"