added support to specify database for datasources

This commit is contained in:
nd 2020-07-05 15:37:31 +02:00
parent 9d725c24e1
commit 5cb6e458be
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -78,6 +78,7 @@
grafana_user: "admin" grafana_user: "admin"
grafana_password: "{{ grafana.adminpw }}" grafana_password: "{{ grafana.adminpw }}"
ds_type: "{{ item.value.ds_type }}" ds_type: "{{ item.value.ds_type }}"
database: "{{ item.value.database|d(omit) }}"
url: "{{ item.value.url }}" url: "{{ item.value.url }}"
is_default: "{{ item.value.is_default }}" is_default: "{{ item.value.is_default }}"
tls_ca_cert: "{{ item.value.tls_ca_cert|d(omit) }}" tls_ca_cert: "{{ item.value.tls_ca_cert|d(omit) }}"