-
Notifications
You must be signed in to change notification settings - Fork 0
/
stop.yml
51 lines (44 loc) · 1.01 KB
/
stop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- hosts: loadbalancer
roles:
- { role: stop-loadbalancer,
tags: [ 'stop', 'loadbalancer' ],
}
- hosts: edge
roles:
- { role: stop-edge,
tags: [ 'stop', 'edge' ],
when: monitoring_framework is undefined,
}
- hosts: middletier
roles:
- { role: stop-middletier,
tags: [ 'stop', 'middletier' ],
when: monitoring_framework is undefined,
}
- hosts: edge
roles:
- { role: stop-edge-with-kieker,
tags: [ 'stop', 'edge' ],
when: monitoring_framework is defined and monitoring_framework == 'kieker',
}
- hosts: middletier
roles:
- { role: stop-middletier-with-kieker,
tags: [ 'stop', 'middletier' ],
when: monitoring_framework is defined and monitoring_framework == 'kieker',
}
- hosts: tomcat
roles:
- { role: stop-tomcat,
tags: [ 'stop', 'tomcat' ],
}
- hosts: database
roles:
- { role: stop-database,
tags: [ 'stop', 'database' ],
}
- hosts: all
roles:
- { role: stop-kieker-resource-monitor,
tags: [ 'stop', 'kieker' ],
}