mirror of https://github.com/ceph/ceph-ansible.git
ceph-mgr: don't install dashboard pkg by default
This is a partial backport of 2547ab60
.
We are currently installing the ceph-mgr-dashboard package even if the
dashboard_enabled variable is set to false.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/6749/head
parent
8d58c50f45
commit
eba580320c
|
@ -31,7 +31,6 @@ dummy:
|
|||
# Ceph mgr packages to install, ceph-mgr + extra module packages.
|
||||
#ceph_mgr_packages:
|
||||
# - ceph-mgr
|
||||
# - ceph-mgr-dashboard
|
||||
# - ceph-mgr-diskprediction-local
|
||||
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ ceph_mgr_modules: []
|
|||
# Ceph mgr packages to install, ceph-mgr + extra module packages.
|
||||
ceph_mgr_packages:
|
||||
- ceph-mgr
|
||||
- ceph-mgr-dashboard
|
||||
- ceph-mgr-diskprediction-local
|
||||
|
||||
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
- dashboard_enabled | bool
|
||||
- ansible_facts['distribution'] == 'RedHat'
|
||||
|
||||
- name: set_fact ceph_mgr_packages for dashboard
|
||||
set_fact:
|
||||
ceph_mgr_packages: "{{ ceph_mgr_packages | union(['ceph-mgr-dashboard']) }}"
|
||||
when: dashboard_enabled | bool
|
||||
|
||||
- name: install ceph-mgr packages on RedHat or SUSE
|
||||
package:
|
||||
name: '{{ ceph_mgr_packages }}'
|
||||
|
|
Loading…
Reference in New Issue