-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteardown.yml
60 lines (52 loc) · 1.45 KB
/
teardown.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
52
53
54
55
56
57
58
59
60
---
- name: Teardown Mantis Shrimp Monitoring Stack
hosts: all
gather_facts: false
tasks:
- name: Teardown Traefik reverse proxy
ansible.builtin.import_role:
name: traefik
tasks_from: teardown
tags:
- traefik
- name: Teardown Jupyter server
ansible.builtin.import_role:
name: jupyter
tasks_from: teardown
- name: Teardown Grafana server
ansible.builtin.import_role:
name: grafana
tasks_from: teardown
- name: Teardown Prometheus server
ansible.builtin.import_role:
name: prometheus
tasks_from: teardown
- name: Teardown node metrics exporter
ansible.builtin.import_role:
name: node_exporter
tasks_from: teardown
tags:
- exporter
- name: Teardown cAdvisor metrics exporter
ansible.builtin.import_role:
name: cadvisor
tasks_from: teardown
tags:
- exporter
- container-metrics
- name: Teardown Nvidia DCGM metrics exporter
ansible.builtin.import_role:
name: nvidia_dcgm
tasks_from: teardown
tags:
- exporter
- gpu-metrics
- name: Mantis Shrimp Stack Artefacts
ansible.builtin.file:
path: /etc/mantis-shrimp
state: absent
become: true
- name: Remove mantis-shrimp Docker network
community.docker.docker_network:
name: mantis_shrimp
state: absent