Merge "Allow to override the datasource name"
This commit is contained in:
commit
a89a9c1065
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ include:
|
||||||
|
|
||||||
grafana_client_datasource_{{ datasource_name }}:
|
grafana_client_datasource_{{ datasource_name }}:
|
||||||
grafana3_datasource.present:
|
grafana3_datasource.present:
|
||||||
- name: {{ datasource_name }}
|
- name: {{ datasource.name|default(datasource_name) }}
|
||||||
- type: {{ datasource.type }}
|
- type: {{ datasource.type }}
|
||||||
- url: http://{{ datasource.host }}:{{ datasource.get('port', 80) }}
|
- url: http://{{ datasource.host }}:{{ datasource.get('port', 80) }}
|
||||||
{%- if datasource.access is defined %}
|
{%- if datasource.access is defined %}
|
||||||
|
|
Loading…
Reference in a new issue