From: Dimitri Savineau Date: Fri, 17 May 2019 15:24:00 +0000 (-0400) Subject: ceph-mgr: install python-routes for dashboard X-Git-Tag: v5.0.0alpha1~311 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f37edfa113cc16844b5b76cb218f180124acb283;p=ceph-ansible.git ceph-mgr: install python-routes for dashboard The ceph mgr dashboard requires routes python library to be installed on the system. Resolves: #3995 Signed-off-by: Dimitri Savineau --- diff --git a/roles/ceph-mgr/tasks/pre_requisite.yml b/roles/ceph-mgr/tasks/pre_requisite.yml index b3bc689bf..12051ae64 100644 --- a/roles/ceph-mgr/tasks/pre_requisite.yml +++ b/roles/ceph-mgr/tasks/pre_requisite.yml @@ -24,3 +24,12 @@ register: result until: result is succeeded when: ansible_os_family == 'Debian' + +- name: install routes python library for dashboard module + apt: + name: python-routes + register: result + until: result is succeeded + when: + - ansible_os_family == 'Debian' + - "'ceph-mgr-dashboard' in ceph_mgr_packages"