1
0
Fork 0
mirror of synced 2024-12-22 06:31:06 -05:00

Merge "Allow to override the datasource name"

This commit is contained in:
Ales Komarek 2017-05-03 07:59:33 +00:00 committed by Gerrit Code Review
commit a89a9c1065

View file

@ -8,7 +8,7 @@ include:
grafana_client_datasource_{{ datasource_name }}:
grafana3_datasource.present:
- name: {{ datasource_name }}
- name: {{ datasource.name|default(datasource_name) }}
- type: {{ datasource.type }}
- url: http://{{ datasource.host }}:{{ datasource.get('port', 80) }}
{%- if datasource.access is defined %}