aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ansible/roles/run_grafana/tasks
AgeCommit message (Collapse)AuthorFilesLines
2021-09-13[containers] Use anuket/ namespace for containersEmma Foley1-3/+3
Change-Id: If0bea94be66a2c5b88d88e6c70a4c27a9001a3d9 Signed-off-by: Emma Foley <efoley@redhat.com>
2018-10-11ansible: Set IP address of influxdb for grafanaKamil Wiatrowski1-6/+1
Set ip address to influxdb for grafana based on provided hostname. IP address in numerical format is required by grafana container. Mapping of hostname in /etc/hosts is no longer required. Change-Id: I684de737c6f8e48b5b9f256541901852d7ecc05a Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-09ansible: Add cleanup for grafana cache under host machineRadoslaw Jablonski1-0/+6
Previously cleaning cache directory for grafana(/var/lib/grafana) was missing and, because of that, changing influxdb_host variable value between one ansible deployment and another was not working. It was a problem because scripts in grafana container are expecting that cache directory will be empty during first run and, if some dashboards exists in cache already (even if they are left by previous deployment), old dashboards will be left untouched with possibly wrong configuration. This bug happened during deploying 3 nodes scenarios more than once (collectd, grafana and influlxdb hosted on separate machines). Now cleanup is done by default and can be skipped using 'clean_grafana_cache=false' value. Change-Id: Ib67cc3437b8a3a2c2930dd55cba44aef8e352cf2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-09ansible: Fix custom 'influxdb_host' setting for grafanaRadoslaw Jablonski1-2/+5
Previously there were 2 errors in ansible scripts for grafana: - influxdb_host variable value was unset - entry for /etc/hosts file was adding text "{{ influxdb_hostname }}" instead hostname stored in this variable Change-Id: I1821b3c5f5fea5c29386b1a57e37aadcf90dd2e6 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-02-28ansible: add roles to launch collectd, influxdb and grafana containersGordon Kelly1-0/+48
Change-Id: I330172a2165e51a1557f084fd85fce12dfaad3a7 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>