]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-mgr: install python-routes for dashboard
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 17 May 2019 15:24:00 +0000 (11:24 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 22 May 2019 06:46:16 +0000 (08:46 +0200)
The ceph mgr dashboard requires routes python library to be installed
on the system.

Resolves: #3995

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-mgr/tasks/pre_requisite.yml

index b3bc689bf55cf2ac6b2b0e42b93c1900382fa5b0..12051ae6434fb7e0e19e089d6b3b4b433fcf0e72 100644 (file)
   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"