File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
tasks :
5
5
- name : Get Loki datasource uid
6
6
ansible.builtin.uri :
7
- url : http://localhost :{{ grafana_port }}/api/datasources/name/Loki
8
- url_username : ' testuser '
9
- url_password : " {{ testuser_password }}"
7
+ url : http://{{ grafana_api_address }} :{{ grafana_port }}/api/datasources/name/Loki
8
+ url_username : grafana
9
+ url_password : " {{ vault_grafana_admin_password }}"
10
10
follow_redirects : all
11
11
register : uid_response
12
12
13
13
- name : Get Loki logs from before rebuild
14
14
ansible.builtin.uri :
15
- url : http://localhost :{{ grafana_port }}/api/ds/query
15
+ url : http://{{ grafana_api_address }} :{{ grafana_port }}/api/ds/query
16
16
follow_redirects : all
17
- url_username : testuser
18
- url_password : " {{ testuser_password }}"
17
+ url_username : grafana
18
+ url_password : " {{ vault_grafana_admin_password }}"
19
19
method : POST
20
20
body_format : json
21
21
headers :
You can’t perform that action at this time.
0 commit comments