ansible: Fix custom 'influxdb_host' setting for grafana 05/64905/1
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Fri, 5 Oct 2018 13:33:01 +0000 (14:33 +0100)
committerAaron Smith <aasmith@redhat.com>
Fri, 9 Nov 2018 17:55:53 +0000 (17:55 +0000)
commitf5594d98506413090cc286bea59a667c5be32a2a
tree4f81157da1aff489d3eaf70fe3f1d4ede19e3fff
parent9ac248a08de1f197bafbabbf43175b30ab19ec32
ansible: Fix custom 'influxdb_host' setting for grafana

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