Enable ceph dashboard by default
Co-Authored-By: rhcayadav <rhcayadav@gmail.com> Change-Id: I3c2c56decbb9de86101f45592ba8135c49c49405 Closes-Bug: #1754424
This commit is contained in:
parent
e88b9a7ad4
commit
fd6c9f3882
@ -412,6 +412,7 @@ enable_ceph: "no"
|
||||
enable_ceph_mds: "no"
|
||||
enable_ceph_rgw: "no"
|
||||
enable_ceph_nfs: "no"
|
||||
enable_ceph_dashboard: "{{ enable_ceph | bool }}"
|
||||
enable_chrony: "no"
|
||||
enable_cinder: "no"
|
||||
enable_cinder_backup: "yes"
|
||||
|
@ -12,6 +12,11 @@
|
||||
- include: start_mgrs.yml
|
||||
when: inventory_hostname in groups['ceph-mgr']
|
||||
|
||||
- include: start_ceph_dashboard.yml
|
||||
when:
|
||||
- enable_ceph_dashboard | bool
|
||||
- inventory_hostname in groups['ceph-mon']
|
||||
|
||||
- include: start_nfss.yml
|
||||
when:
|
||||
- enable_ceph_nfs | bool
|
||||
|
5
ansible/roles/ceph/tasks/start_ceph_dashboard.yml
Normal file
5
ansible/roles/ceph/tasks/start_ceph_dashboard.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: Enable ceph dashboard
|
||||
command: docker exec ceph_mon ceph mgr module enable dashboard
|
||||
changed_when: false
|
||||
run_once: true
|
@ -149,6 +149,7 @@ kolla_internal_vip_address: "10.10.10.254"
|
||||
#enable_ceph_mds: "no"
|
||||
#enable_ceph_rgw: "no"
|
||||
#enable_ceph_nfs: "no"
|
||||
#enable_ceph_dashboard: "{{ enable_ceph | bool }}"
|
||||
#enable_chrony: "no"
|
||||
#enable_cinder: "no"
|
||||
#enable_cinder_backup: "yes"
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add support for ceph-dashboard. It enables 'dashboard' module in ceph cluster.
|
||||
Its uses command 'ceph mgr module enable dashboard'.
|
Loading…
Reference in New Issue
Block a user