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
Dimitri Savineau 2019-10-17 15:15:20 -04:00 committed by Dimitri Savineau
parent 703c834dab
commit 021c555307
2 changed files with 10 additions and 10 deletions

View File

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

View File

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