--- # https://grafana.com/docs/installation/debian/ - name: Create InfluxDB datasource grafana_datasource: name: "{{ datasource_name }}" grafana_url: "{{ grafana_proto }}://{{ grafana_domain }}:{{ grafana_port }}" grafana_user: "{{ grafana_admin_user }}" grafana_password: "{{ grafana_admin_pass }}" org_id: "{{ grafana_org_id }}" ds_type: "influxdb" url: "{{ influx_proto }}://{{ influx_url }}:{{ influx_port }}" database: "{{ influx_db_name }}" basic_auth_user: "{{ influx_user }}" basic_auth_password: "{{ influx_pass }}" is_default: "{{ is_default }}" time_interval: ">10s" when: influx_datasource_setup