2 # file: roles/cleanup/tasks/main.yaml
3 # purpose: Structured per server cleanup tasks.
6 # - Run tasks on TG servers only.
7 # - Cleanup processes (T-Rex).
9 # - Run tasks on SUT servers only.
10 # - Cleanup file leftovers (logs).
11 # - Cleanup packages (VPP, Honeycomb).
12 # - Cleanup processes (qemu, l3fwd, testpmd, docker, kubernetes)
13 # - Cleanup interfaces.
15 # - Run tasks on vpp_device servers only.
17 # - Docker image cleanup
19 # - Docker image cleanup
22 include_tasks: tg.yaml
23 when: "'tg' in group_names"
28 include_tasks: sut.yaml
29 when: "'sut' in group_names"
33 - name: vpp_device specific
34 include_tasks: vpp_device.yaml
35 when: "'vpp_device' in group_names"
39 - name: nomad specific
40 include_tasks: nomad.yaml
41 when: "'nomad' in group_names"