8be78bb3df667cb63df61de42391227bbd4f06a3
[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 ############ Master ############
19
20 ### EdgeGallery related ###
21
22 - hosts: egmaster
23   become: yes
24   tags:
25     - egmaster
26     - master
27
28   roles:
29     - eg_mecm-meo
30     - eg_mecm-fe
31     - eg_appstore
32     - eg_developer
33     - eg_user-mgmt
34     - service_center
35     - eg_secret
36
37 ### Other 3rd party related ###
38
39 - hosts: thirdpartymaster
40   become: yes
41   tags:
42     - thirdpartymaster
43     - master
44
45   roles:
46     - grafana
47
48 ### Pre-Requisites ###
49
50 - hosts: prerequisitemaster
51   become: yes
52   tags:
53     - prerequisitemaster
54     - master
55
56   roles:
57     - kubeconfig
58     - helm
59
60 ############ Edge ############
61
62 ### EdgeGallery related ###
63
64 - hosts: egedge
65   become: yes
66   tags:
67     - egedge
68     - edge
69
70   roles:
71     - eg_secret
72     - eg_mep
73     - eg_mecm-mepm
74
75 ### Other 3rd party related ###
76
77 - hosts: thirdpartyedge
78   become: yes
79   tags:
80     - thirdpartyedge
81     - edge
82
83   roles:
84     - el_hawkbit
85     - rabbitmq
86     - prometheus
87     - kubeconfig
88     - mepkubeconfig
89     - cadvisor
90
91 ### Pre-Requisites ###
92
93 - hosts: prerequisiteedge
94   become: yes
95   tags:
96     - prerequisiteedge
97     - edge
98
99   roles:
100     - helm
101
102 ### Infrastructure ###
103 - hosts: edge-infra
104   become: yes
105   tags:
106     - edge-infra
107     - edge
108
109   roles:
110     - k3s
111     - docker
112
113 ############ OCD ############
114
115 - hosts: ocdconsolidated
116   become: yes
117   tags:
118     - ocdhost
119     - ocdconsolidated
120
121   roles:
122     - eg_helm-repo
123     - eg_registry
124     - eg_certs
125     - helm
126     - k8s
127     - docker