]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Install python routes package as a dependancy rather than directly
authorJonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
Thu, 18 Jun 2020 15:40:52 +0000 (16:40 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 26 Jun 2020 17:36:42 +0000 (13:36 -0400)
This is now a dependancy of ceph-mgr so will be installed automatically
and does not need a specific task.

This change means that ceph-mgr installs correctly on Ubuntu Focal where
the python3-routes package is necessary.

Signed-off-by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
(cherry picked from commit 92288c11c5dcf335a694f05a3c274f9be7ec2b97)

roles/ceph-mgr/tasks/pre_requisite.yml

index d57483b4354435e09096ec6f580e4a364a6160b9..76102e22f4c96690cb202a4188c6d460d92f9c4c 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"