---
- hosts: all
  gather_facts: True
  vars:
    telegraf_agent_output:
      - type: influxdb
        config:
          - urls = ["http://0.0.0.0:8086"]
          - database = "myDatabase"
          - precision = "s"
          - timeout = "5s"
  roles:
     - telegraf
