From c721cb99cbcecdc7e234568096e49874358eff49 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Wed, 14 Aug 2019 22:48:34 +0200 Subject: [PATCH] install ceph-mds packages on SUSE/openSUSE install packages on SUSE/openSUSE distributions, using the same logic as on RedHat-based distributions Fixes #4340 Signed-off-by: Johannes Kastl --- roles/ceph-mds/tasks/non_containerized.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-mds/tasks/non_containerized.yml b/roles/ceph-mds/tasks/non_containerized.yml index 8d09101f8..6f8f15a61 100644 --- a/roles/ceph-mds/tasks/non_containerized.yml +++ b/roles/ceph-mds/tasks/non_containerized.yml @@ -10,7 +10,7 @@ register: result until: result is succeeded -- name: install redhat ceph-mds package +- name: install ceph-mds package on redhat or suse package: name: "ceph-mds" state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" @@ -18,7 +18,7 @@ until: result is succeeded when: - mds_group_name in group_names - - ansible_os_family == 'RedHat' + - ansible_os_family in ['Suse', 'RedHat'] - name: create mds keyring command: ceph --cluster {{ cluster }} --name client.bootstrap-mds --keyring /var/lib/ceph/bootstrap-mds/{{ cluster }}.keyring auth get-or-create mds.{{ mds_name }} osd 'allow rwx' mds 'allow' mon 'allow profile mds' -o /var/lib/ceph/mds/{{ cluster }}-{{ mds_name }}/keyring -- 2.39.5