From 162b7d2b23b72adabdae32275962409e19ba4e0b Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 14 Dec 2017 18:13:09 +0000 Subject: [PATCH] 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. --- roles/ceph-mgr/tasks/pre_requisite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5