6062bd2208adbe3e1c34226035ab84801b14625f
[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     - el_hawkbit
48
49 ### Pre-Requisites ###
50
51 - hosts: prerequisitemaster
52   become: yes
53   tags:
54     - prerequisitemaster
55     - master
56
57   roles:
58     - kubeconfig
59     - helm
60
61 ############ Edge ############
62
63 ### EdgeGallery related ###
64
65 - hosts: egedge
66   become: yes
67   tags:
68     - egedge
69     - edge
70
71   roles:
72     - eg_secret
73     - eg_mep
74     - eg_mecm-mepm
75
76 ### Other 3rd party related ###
77
78 - hosts: thirdpartyedge
79   become: yes
80   tags:
81     - thirdpartyedge
82     - edge
83
84   roles:
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