File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $(LIBVENDOR): $(LIBVENDORTGZ)
23
23
-cd roles/domjudge_checkout/files && tar xzf $(notdir $< )
24
24
endif
25
25
26
- domserver judgehost admin grafana cds scoreboard : % : % .yml hosts group_vars/all/secret.yml $(LIBVENDOR ) $(SSHKEY ) $(SSHKEY ) .pub
26
+ domserver judgehost admin grafana cds scoreboard mgmt : % : % .yml hosts group_vars/all/secret.yml $(LIBVENDOR ) $(SSHKEY ) $(SSHKEY ) .pub
27
27
ansible-playbook -i hosts $<
28
28
29
29
admin : $(SSL_LOCALHOST_FILES )
Original file line number Diff line number Diff line change @@ -41,3 +41,6 @@ domjudge-cds ansible_host=10.2.2.228
41
41
42
42
[scoreboard]
43
43
domjudge-scoreboard ansible_host =10.2.2.229
44
+
45
+ [mgmt]
46
+ domjudge-mgmg ansible_host =10.3.3.223
Original file line number Diff line number Diff line change
1
+ ---
2
+ # This playbook installs the Management machine
3
+
4
+ - name : setup management
5
+ hosts : mgmt
6
+ vars :
7
+ host_type : mgmt
8
+ become : yes
9
+ roles :
10
+ - role : prometheus_target_all
11
+ tags : prometheus_target_all
12
+ when : GRAFANA_MONITORING
You can’t perform that action at this time.
0 commit comments