mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #610 from fcharlier/install_ceph_mds_only_if_required
Install ceph-mds on Debian platforms only if mds_group_name is setpull/634/head
commit
6e60fb5c0d
|
@ -21,8 +21,7 @@
|
||||||
- ceph-common #|
|
- ceph-common #|
|
||||||
- ceph-fs-common #|--> yes, they are already all dependencies from 'ceph'
|
- 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-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 #|--> they don't get update so we need to force them
|
||||||
- libcephfs1 #|
|
|
||||||
|
|
||||||
- name: install ceph-test
|
- name: install ceph-test
|
||||||
apt:
|
apt:
|
||||||
|
@ -39,6 +38,14 @@
|
||||||
when:
|
when:
|
||||||
rgw_group_name in group_names
|
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
|
- name: configure rbd clients directories
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
|
Loading…
Reference in New Issue