]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Add http_addr option to grafana config
authorfmount <fpantano@redhat.com>
Fri, 23 Aug 2019 08:00:30 +0000 (10:00 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 29 Aug 2019 17:00:22 +0000 (13:00 -0400)
commit8a666bfd1554267859a39c0f87fe3fb1ea1c7418
tree74f42021cc89e403a3c00ed097ac94f268dcb9e3
parent4c592066b7c1caaec700af347fc9edf2109c1659
Add http_addr option to grafana config

We have no reason to make grafana container
listen on *:<port>, so this change adds the
http_addr option to the grafana config file
and adds the related option on the wait_for
tasks.
Since grafana_server_addr should exists, we
shouldn't rely on the _current_monitor_addr
default on prometheus/grafana templates.
This change also remove this default value
that is not necessary anymore.

Signed-off-by: fmount <fpantano@redhat.com>
roles/ceph-grafana/tasks/configure_grafana.yml
roles/ceph-grafana/templates/datasources-ceph-dashboard.yml.j2
roles/ceph-grafana/templates/grafana.ini.j2
roles/ceph-prometheus/templates/prometheus.yml.j2