ansible: Set IP address of influxdb for grafana 39/64939/1
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Thu, 11 Oct 2018 11:10:06 +0000 (13:10 +0200)
committerAaron Smith <aasmith@redhat.com>
Fri, 9 Nov 2018 19:27:59 +0000 (19:27 +0000)
commitf0d6ce0116e70c0c8b5d36beaf11ecdc28e007b8
tree5dac516f7d79cd88c38c15e49062a3cfc9534364
parentb37155d4408189aa8cb0203cbe0c95fabc3c30da
ansible: Set IP address of influxdb for grafana

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>
(cherry picked from commit 3e269c4c295e3dd81dfeaebe9de4c4a702e7f1d5)
docker/ansible/roles/run_grafana/tasks/main.yml
docker/ansible/roles/run_grafana/vars/main.yml