Skip to content

Commit 60875fc

Browse files
authored
testing with grafana admin credentials
1 parent 21b5963 commit 60875fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ansible/ci/check_loki.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
tasks:
55
- name: Get Loki datasource uid
66
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 }}"
1010
follow_redirects: all
1111
register: uid_response
1212

1313
- name: Get Loki logs from before rebuild
1414
ansible.builtin.uri:
15-
url: http://localhost:{{ grafana_port }}/api/ds/query
15+
url: http://{{ grafana_api_address }}:{{ grafana_port }}/api/ds/query
1616
follow_redirects: all
17-
url_username: testuser
18-
url_password: "{{ testuser_password }}"
17+
url_username: grafana
18+
url_password: "{{ vault_grafana_admin_password }}"
1919
method: POST
2020
body_format: json
2121
headers:

0 commit comments

Comments
 (0)