diff --git a/roles/ceph-dashboard/tasks/configure_dashboard.yml b/roles/ceph-dashboard/tasks/configure_dashboard.yml index 9fb96f017..1df7fc5b2 100644 --- a/roles/ceph-dashboard/tasks/configure_dashboard.yml +++ b/roles/ceph-dashboard/tasks/configure_dashboard.yml @@ -180,6 +180,13 @@ - dashboard_rgw_api_no_ssl_verify | bool - radosgw_frontend_ssl_certificate | length > 0 +- name: inject grafana dashboard layouts + command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} dashboard grafana dashboards update" + delegate_to: "{{ groups[mon_group_name][0] }}" + run_once: true + changed_when: false + when: containerized_deployment | bool + - name: disable mgr dashboard module (restart) command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} mgr module disable dashboard" changed_when: false @@ -191,10 +198,3 @@ changed_when: false delegate_to: "{{ groups[mon_group_name][0] }}" run_once: true - -- name: inject grafana dashboard layouts - command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} dashboard grafana dashboards update" - delegate_to: "{{ groups[mon_group_name][0] }}" - run_once: true - changed_when: false - when: containerized_deployment | bool