forked from smart-edge-open/converged-edge-experience-kits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ne_cleanup.yml
84 lines (57 loc) · 2.92 KB
/
ne_cleanup.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2019 Intel Corporation
---
- hosts: controller_group
tasks:
# following roles are not cleaned up directly, they're cleaned when Kubernetes cluster is reset
# - nfd
# - multus
# - sriov/master
#- include_vars: ./roles/ngc_test/common/defaults/main.yml
#- include_tasks: ./roles/ngc_test/master/tasks/cleanup.yml
- include_vars: ./roles/sriov/common/defaults/main.yml
- include_tasks: ./roles/sriov/common/tasks/cleanup.yml
- include_vars: ./roles/opae_fpga/master/defaults/main.yml
- include_tasks: ./roles/opae_fpga/master/tasks/cleanup.yml
- include_vars: ./roles/cnca/master/defaults/main.yml
- include_tasks: ./roles/cnca/master/tasks/cleanup.yml
- include_vars: ./roles/biosfw/master/defaults/main.yml
- include_tasks: ./roles/biosfw/master/tasks/cleanup.yml
- include_vars: ./roles/openness/network_edge/master/defaults/main.yml
- include_tasks: ./roles/openness/network_edge/master/tasks/cleanup.yml
- include_vars: ./roles/kubeovn/master/defaults/main.yml
- include_tasks: ./roles/kubeovn/master/tasks/cleanup.yml
- include_tasks: ./roles/kubernetes/master/tasks/cleanup.yml
- include_vars: ./roles/kubernetes/common/defaults/main.yml
- include_tasks: ./roles/kubernetes/common/tasks/uninstall.yml
- include_vars: ./roles/docker/defaults/main.yml
- include_tasks: ./roles/docker/tasks/prune.yml
- include_tasks: ./roles/docker/tasks/uninstall.yml
- include_vars: ./roles/golang/defaults/main.yml
- include_tasks: ./roles/golang/tasks/cleanup.yml
- include_vars: ./roles/git_repo/defaults/main.yml
- include_tasks: ./roles/git_repo/tasks/cleanup.yml
- hosts: edgenode_group
serial: 1
tasks:
# biosfw/worker - no clean up, because build image is delete when running docker's prune.yml
- include_vars: ./roles/openness/network_edge/worker/defaults/main.yml
- include_tasks: ./roles/openness/network_edge/worker/tasks/cleanup.yml
- include_vars: ./roles/kubeovn/worker/defaults/main.yml
- include_tasks: ./roles/kubeovn/worker/tasks/cleanup.yml
- include_vars: ./roles/kubernetes/worker/defaults/main.yml
- include_tasks: ./roles/kubernetes/worker/tasks/cleanup.yml
- include_vars: ./roles/kubernetes/common/defaults/main.yml
- include_tasks: ./roles/kubernetes/common/tasks/uninstall.yml
# TODO: role: sriov/worker
- include_vars: ./roles/sriov/common/defaults/main.yml
- include_tasks: ./roles/sriov/common/tasks/cleanup.yml
- include_vars: ./roles/opae_fpga/worker/defaults/main.yml
- include_tasks: ./roles/opae_fpga/worker/tasks/cleanup.yml
- include_vars: ./roles/docker/defaults/main.yml
- include_tasks: ./roles/docker/tasks/prune.yml
- include_tasks: ./roles/docker/tasks/uninstall.yml
- include_vars: ./roles/golang/defaults/main.yml
- include_tasks: ./roles/golang/tasks/cleanup.yml
- include_vars: ./roles/git_repo/defaults/main.yml
- include_tasks: ./roles/git_repo/tasks/cleanup.yml