From 59f151f37401cdb2c3ea2c9df38cc88162142fd0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Charlier?= Date: Tue, 8 Mar 2016 19:08:24 +0100 Subject: [PATCH] Install ceph-mds on Debian platforms only if mds_group_name is set Fixes #547 --- .../ceph-common/tasks/installs/install_on_debian.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/roles/ceph-common/tasks/installs/install_on_debian.yml b/roles/ceph-common/tasks/installs/install_on_debian.yml index 0cb09785c..705e295a2 100644 --- a/roles/ceph-common/tasks/installs/install_on_debian.yml +++ b/roles/ceph-common/tasks/installs/install_on_debian.yml @@ -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: @@ -39,6 +38,14 @@ 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 }}" -- 2.47.3