mirror of https://github.com/ceph/ceph-ansible.git
dashboard: move ceph-grafana-dashboards package installation
This commit moves the package installation into ceph-dashboard role. This is needed to install ceph dasboard json file in `/etc/grafana/dashboards/ceph-dashboard/`. Closes: #4026 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/4046/head
parent
14f5fc3c86
commit
6e2e30db54
|
@ -1,4 +1,14 @@
|
|||
---
|
||||
- name: install ceph-grafana-dashboards package on RedHat or SUSE
|
||||
package:
|
||||
name: ceph-grafana-dashboards
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
register: result
|
||||
until: result is succeeded
|
||||
when:
|
||||
- not containerized_deployment
|
||||
- ansible_os_family in ['RedHat', 'Suse']
|
||||
|
||||
- name: make sure grafana is down
|
||||
service:
|
||||
name: grafana-server
|
||||
|
|
|
@ -7,15 +7,6 @@
|
|||
until: result is succeeded
|
||||
when: ansible_os_family in ['RedHat', 'Suse']
|
||||
|
||||
- name: install ceph-grafana-dashboards package on RedHat or SUSE
|
||||
package:
|
||||
name: ceph-grafana-dashboards
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
register: result
|
||||
until: result is succeeded
|
||||
when:
|
||||
- ansible_os_family in ['RedHat', 'Suse']
|
||||
|
||||
- name: install ceph-mgr packages for debian
|
||||
apt:
|
||||
name: '{{ ceph_mgr_packages }}'
|
||||
|
|
Loading…
Reference in New Issue