mirror of https://github.com/ceph/ceph-ansible.git
mds: allow multi mds when ceph is >= jewel
Otherwise, the task to set max_mds will fail. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/4820/head
parent
9d97420b02
commit
fdeda6f03f
|
@ -36,7 +36,7 @@
|
|||
changed_when: false
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
when:
|
||||
- ceph_release_num[ceph_release] == ceph_release_num.luminous
|
||||
- ceph_release_num[ceph_release] >= ceph_release_num.jewel
|
||||
|
||||
- name: set max_mds
|
||||
command: "{{ hostvars[groups[mon_group_name][0]]['docker_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} fs set {{ cephfs }} max_mds {{ mds_max_mds }}"
|
||||
|
|
Loading…
Reference in New Issue