aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/sut.yaml
blob: b3f8fffea23adcac7b4d3725cc2c37d9c3cd5907 (plain)
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
---
# file: roles/cleanup/tasks/sut.yaml

- name: Kill processes - qemu
  import_tasks: kill_process.yaml
  vars:
    process: "qemu"
  tags: kill-process

- name: Kill processes - l3fwd
  import_tasks: kill_process.yaml
  vars:
    process: "l3fwd"
  tags: kill-process

- name: Kill processes - testpmd
  import_tasks: kill_process.yaml
  vars:
    process: "testpmd"
  tags: kill-process

- name: Kill processes - iperf3
  import_tasks: kill_process.yaml
  vars:
    process: "iperf3"
  tags: kill-process

- name: Kill processes - vpp_echo
  import_tasks: kill_process.yaml
  vars:
    process: "vpp_echo"
  tags: kill-process

- name: Remove file or dir - Core zip file
  file:
    state: absent
    path: "/tmp/*tar.lzo.lrz.xz*"
  tags: remove-file-dir

- name: Remove file or dir - Core dump file
  file:
    state: absent
    path: "/tmp/*core*"
  tags: remove-file-dir

- name: Kill containers - Remove all containers
  import_tasks: kill_containers.yaml
  tags: kill-containers

- name: Kubernetes - Reset
  raw: 'kubeadm reset --force'
  tags: kill-kubernetes

- name: Remove packages - Remove VPP
  import_tasks: remove_package.yaml
  vars:
    package: "*vpp*"
  tags: remove-package