mirror of https://github.com/ceph/ceph-ansible.git
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>pull/4315/head
parent
f545b5be0d
commit
16939eff9e
|
@ -67,7 +67,7 @@
|
||||||
status: "Complete"
|
status: "Complete"
|
||||||
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
|
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
|
become: true
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: set ceph dashboard install 'In Progress'
|
- name: set ceph dashboard install 'In Progress'
|
||||||
|
|
Loading…
Reference in New Issue