]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mgr/dashboard: Fix grafana/prometheus url config
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 2 Aug 2019 17:35:22 +0000 (13:35 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 6 Aug 2019 07:34:20 +0000 (09:34 +0200)
commit4c6ec1dccb994dbd25ec22919f4964bb9b9db8f5
tree753e1ec449ca13dcd60543718e12b66487a88283
parent16939eff9efc680aebaafa12f2a25a804400b5e9
mgr/dashboard: Fix grafana/prometheus url config

When configuring grafana/prometheus embed in the mgr/dashboard, we need
to use the address of the grafana-server node and not the current
hostname because mgr/dashboard and grafana/prometheus could be present
on different hosts.
We should instead rely on the grafana_server_addr variable and remove
the dashboard_url.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-dashboard/tasks/configure_dashboard.yml
roles/ceph-defaults/defaults/main.yml