influxdb_configuration_dir: /etc/opt/influxdb
telegraf_flush_retries: 3
iface: enp0s8 #interface which telegraf clients will connect to on the grafana machine.
influxdb_url: http://{{ hostvars['grafana']['ansible_' + iface]['ipv4']['address'] }}:8086
grafana_custom_dashboard: ../training-dashboard.json
grafana_data_source:
  isDefault: yes
  database: telegraf
  user: root
  password: root
  name: training
  type: influxdb
  url: http://localhost:8086
  access: proxy
  basicAuth: false

influxdb_configuration_dir: /etc/opt/influxdb
telegraf_flush_retries: 3
iface: eth0 #interface which telegraf clients will connect to on the grafana machine.
influxdb_url: http://{{ hostvars['grafana']['ansible_' + iface]['ipv4']['address'] }}:8086
grafana_custom_dashboard: ../training-dashboard.json
grafana_data_source:
  isDefault: yes
  database: telegraf
  user: root
  password: root
  name: training
  type: influxdb
  url: http://localhost:8086
  access: proxy
  basicAuth: false

Change interface name so it matches what the AWS instances have
Change interface name so it matches what the AWS instances have
