]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Install ceph-mds on Debian platforms only if mds_group_name is set 610/head
authorFrançois Charlier <francois.charlier@redhat.com>
Tue, 8 Mar 2016 18:08:24 +0000 (19:08 +0100)
committerFrançois Charlier <francois.charlier@redhat.com>
Tue, 8 Mar 2016 18:08:24 +0000 (19:08 +0100)
Fixes #547

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

index 0cb09785cbf18ac62a6a151ddf7827aceb5c3874..705e295a28c9db6b4e0e8d93b01c9f53cacd4618 100644 (file)
@@ -21,8 +21,7 @@
     - ceph-common    #|
     - ceph-fs-common #|--> yes, they are already all dependencies from 'ceph'
     - ceph-fuse      #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade
-    - ceph-mds       #|--> they don't get update so we need to force them
-    - libcephfs1     #|
+    - libcephfs1     #|--> they don't get update so we need to force them
 
 - name: install ceph-test
   apt:
   when:
     rgw_group_name in group_names
 
+- name: install ceph mds
+  apt:
+    pkg: ceph-mds
+    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
+    default_release: "{{ ansible_distribution_release }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}"
+  when:
+    mds_group_name in group_names
+
 - name: configure rbd clients directories
   file:
     path: "{{ item }}"