Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.

Commit 99e0345

Browse files
bengoapaulfantom
authored andcommitted
Passing database, user and password to grafana_datasource in order to be able to manage influxdb/mysql Data Sources through Grafana API. (#182)
1 parent c01bf2c commit 99e0345

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tasks/datasources.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
is_default: "{{ item.isDefault | default(omit) }}"
1212
basic_auth_user: "{{ item.basicAuthUser | default(omit) }}"
1313
basic_auth_password: "{{ item.basicAuthPassword | default(omit) }}"
14+
database: "{{ item.database | default(omit) }}"
15+
user: "{{ item.user | default(omit) }}"
16+
password: "{{ item.password | default(omit) }}"
1417
with_items: "{{ grafana_datasources }}"
1518
when: not grafana_use_provisioning
1619

0 commit comments

Comments
 (0)