]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: install ceph-mds package
authorSébastien Han <seb@redhat.com>
Sat, 7 May 2016 00:37:09 +0000 (02:37 +0200)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 17 May 2016 15:51:26 +0000 (10:51 -0500)
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>
(cherry picked from commit c4f3ab5649c0a79e708ea94a5556fe53acf99f20)

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

index ec46b3cfe045b7bc03dec859e0a063612834844c..f4f55c8cc9e9d4445813deb14bd0a913732514ed 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