apiVersion: 1 # list of datasources that should be deleted from the database deleteDatasources: - name: '{{ grafana_datasource }}' orgId: 1 # list of datasources to insert/update depending # what's available in the database datasources: # name of the datasource. Required - name: '{{ grafana_datasource }}' # datasource type. Required type: 'prometheus' # access mode. proxy or direct (Server or Browser in the UI). Required access: 'proxy' # org id. will default to orgId 1 if not specified orgId: 1 # url url: 'http://{{ groups["grafana-server"][0] }}:9090' # enable/disable basic auth basicAuth: false # mark as default datasource. Max one per org isDefault: true # allow users to edit datasources from the UI. editable: false