4b5f67117afb2c68b9055923cc191189b18a1507
[eliot.git] / blueprints / iotgateway / playbooks / eliot-all-uninstall.yml
1 #
2 # Copyright 2020 Huawei Technologies Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 ---
17
18 ############ OCD ############
19
20 - hosts: ocdconsolidated
21   become: yes
22   tags:
23     - ocdhost
24     - ocdconsolidated
25
26   roles:
27     - eg_helm-repo
28     - eg_registry
29     - eg_certs
30     - helm
31     - k8s
32
33 ############ Master ############
34
35 ### EdgeGallery related ###
36
37 - hosts: egmaster
38   become: yes
39   tags:
40     - egmaster
41     - master
42
43   roles:
44     - eg_mecm-meo
45     - eg_mecm-fe
46     - eg_appstore
47     - eg_developer
48     - eg_user-mgmt
49     - service_center
50     - eg_secret
51
52 ### Other 3rd party related ###
53
54 - hosts: thirdpartymaster
55   become: yes
56   tags:
57     - thirdpartymaster
58     - master
59
60   roles:
61     - grafana
62     - el_hawkbit
63
64 ### Pre-Requisites ###
65
66 - hosts: prerequisitemaster
67   become: yes
68   tags:
69     - prerequisitemaster
70     - master
71
72   roles:
73     - kubeconfig
74     - helm
75
76 ############ Edge ############
77
78 ### EdgeGallery related ###
79
80 - hosts: egedge
81   become: yes
82   tags:
83     - egedge
84     - edge
85
86   roles:
87     - eg_secret
88     - eg_mep
89     - eg_mecm-mepm
90
91 ### Other 3rd party related ###
92
93 - hosts: thirdpartyedge
94   become: yes
95   tags:
96     - thirdpartyedge
97     - edge
98
99   roles:
100     - rabbitmq
101     - prometheus
102     - kubeconfig
103     - mepkubeconfig
104     - cadvisor
105
106 ### Pre-Requisites ###
107
108 - hosts: prerequisiteedge
109   become: yes
110   tags:
111     - prerequisiteedge
112     - edge
113
114   roles:
115     - helm
116
117 ### Infrastructure ###
118 - hosts: edge-infra
119   become: yes
120   tags:
121     - edge-infra
122     - edge
123
124   roles:
125     - k3s
126     - docker