mirror of https://github.com/ceph/ceph-ansible.git
playbooks: show cluster status after dashboard
We should show the ceph cluster status as the last task of the playbook.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 47ce9c0d22
)
pull/4639/head
parent
703c834dab
commit
021c555307
|
@ -410,6 +410,11 @@
|
|||
status: "Complete"
|
||||
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
|
||||
|
||||
- import_playbook: dashboard.yml
|
||||
when:
|
||||
- dashboard_enabled | bool
|
||||
- groups.get(grafana_server_group_name, []) | length > 0
|
||||
|
||||
- hosts: mons
|
||||
gather_facts: false
|
||||
become: True
|
||||
|
@ -441,8 +446,3 @@
|
|||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
run_once: true
|
||||
when: not ceph_status.failed
|
||||
|
||||
- import_playbook: dashboard.yml
|
||||
when:
|
||||
- dashboard_enabled | bool
|
||||
- groups.get(grafana_server_group_name, []) | length > 0
|
||||
|
|
|
@ -435,6 +435,11 @@
|
|||
status: "Complete"
|
||||
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
|
||||
|
||||
- import_playbook: dashboard.yml
|
||||
when:
|
||||
- dashboard_enabled | bool
|
||||
- groups.get(grafana_server_group_name, []) | length > 0
|
||||
|
||||
- hosts: mons
|
||||
gather_facts: false
|
||||
become: True
|
||||
|
@ -455,8 +460,3 @@
|
|||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
run_once: true
|
||||
when: not ceph_status.failed
|
||||
|
||||
- import_playbook: dashboard.yml
|
||||
when:
|
||||
- dashboard_enabled | bool
|
||||
- groups.get(grafana_server_group_name, []) | length > 0
|
||||
|
|
Loading…
Reference in New Issue