From: Markos Chandras Date: Thu, 14 Dec 2017 18:13:09 +0000 (+0000) Subject: roles: ceph-mgr: Install the ceph-mgr package on SUSE X-Git-Tag: v3.0.16~13 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e160206806214e0acf11e391fd8c633508fc6b16;p=ceph-ansible.git roles: ceph-mgr: Install the ceph-mgr package on SUSE The ceph-mgr package name is identical to RedHat so add the SUSE family to the existing task. (cherry picked from commit 162b7d2b23b72adabdae32275962409e19ba4e0b) Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-mgr/tasks/pre_requisite.yml b/roles/ceph-mgr/tasks/pre_requisite.yml index 4c3e314e1..a437c02c4 100644 --- a/roles/ceph-mgr/tasks/pre_requisite.yml +++ b/roles/ceph-mgr/tasks/pre_requisite.yml @@ -1,10 +1,10 @@ --- -- name: install redhat ceph-mgr package +- name: install ceph-mgr package on RedHat or SUSE package: name: ceph-mgr state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: - - ansible_os_family == 'RedHat' + - ansible_os_family in ['RedHat', 'Suse'] - name: install ceph mgr for debian apt: