]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
playbooks: show cluster status after dashboard
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 17 Oct 2019 19:15:20 +0000 (15:15 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 18 Oct 2019 23:32:42 +0000 (19:32 -0400)
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 47ce9c0d225ff0d39cf1f1bb982ca94531f476d1)

site-container.yml.sample
site.yml.sample

index 301ecf83af6ee974971f5dadb0b97443d589bddf..e43ade091d4de50c9fe881ebc8007dc2d41809d8 100644 (file)
             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
       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
index cd2847cf8a1f338021958110d548a440b07f45b5..ea5fbfd6e6be8e06ad9b12feaee0674c7b4d4ea1 100644 (file)
             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
       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