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 <dsavinea@redhat.com>
(cherry picked from commit f37edfa113)
pull/4028/head
Dimitri Savineau 2019-05-17 11:24:00 -04:00 committed by Guillaume Abrioux
parent 6d521f1516
commit 27bd7df5cf
1 changed files with 9 additions and 0 deletions

View File

@ -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"