]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: install ceph-mds package 763/head
authorSébastien Han <seb@redhat.com>
Sat, 7 May 2016 00:37:09 +0000 (02:37 +0200)
committerSébastien Han <seb@redhat.com>
Sat, 7 May 2016 00:37:09 +0000 (02:37 +0200)
We kinda ommitted this package, now Jewel is out and the metadata server
is considered as stable.

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

index b76a24d0fc2ae32289dd2c43a05ea000edcc13fa..f434d9dba92603db28335c3fea266f6e64af7baf 100644 (file)
     osd_group_name in group_names and
     ansible_pkg_mgr == "dnf"
 
+- name: install distro or red hat storage ceph mds
+  yum:
+    name: "ceph-mds"
+    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
+  when:
+    (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or
+     (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
+    mds_group_name in group_names and
+    ansible_pkg_mgr == "yum"
+
+- name: install distro or red hat storage ceph mds
+  dnf:
+    name: "ceph-mds"
+    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
+  when:
+    (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or
+     (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
+    mds_group_name in group_names and
+    ansible_pkg_mgr == "dnf"
+
 - name: install ceph-test
   yum:
     name: ceph-test