Skip to content

Commit a87df60

Browse files
authored
Merge pull request #174 from infrawatch/test_alerts_get_prom_auth
[test_alerts] Get prom_url and token before running test
2 parents e7ee198 + 13fc228 commit a87df60

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

roles/test_alerts/tasks/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
---
2+
- name: "Set the prom auth"
3+
ansible.builtin.include_role:
4+
name: client_side_tests
5+
tasks_from: get_prom_info.yml
6+
vars:
7+
prom_auth_method: token
8+
29
- name: "Test Creating an alert rule in Prometheus"
310
ansible.builtin.include_tasks:
411
file: test_create_an_alert.yml

0 commit comments

Comments
 (0)