Merge "Enable ceph dashboard by default"

This commit is contained in:
Zuul 2018-06-22 06:19:08 +00:00 committed by Gerrit Code Review
commit ab5fd56bb0
5 changed files with 17 additions and 0 deletions

View File

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

View File

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

View 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

View File

@ -150,6 +150,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"

View File

@ -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'.