dashboard: run dashboard role on mgr/mon nodes

We don't need to execute the ceph-dashboard role on the nodes present
in the grafana-server group. This one is dedicated to the grafana and
prometheus stack.
The ceph-dashboard needs to executed where the ceph-mgr is running. It
is either on the dedicated mgr nodes or if mgr and mon are collocated
implicitly on the mon nodes.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 16939eff9e)
pull/4318/merge
Dimitri Savineau 2019-08-02 11:24:03 -04:00 committed by Guillaume Abrioux
parent cf82ac5590
commit f9d9ffac8f
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@
status: "Complete"
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: "{{ grafana_server_group_name }}"
- hosts: "{{ groups[mgr_group_name] | default(groups[mon_group_name]) }}"
become: true
pre_tasks:
- name: set ceph dashboard install 'In Progress'