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