b58890e4bc1ee68cbd231a11c84f3fbffcc3bd78
[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
63 ### Pre-Requisites ###
64
65 - hosts: prerequisitemaster
66   become: yes
67   tags:
68     - prerequisitemaster
69     - master
70
71   roles:
72     - kubeconfig
73     - helm
74
75 ############ Edge ############
76
77 ### EdgeGallery related ###
78
79 - hosts: egedge
80   become: yes
81   tags:
82     - egedge
83     - edge
84
85   roles:
86     - eg_secret
87     - eg_mep
88     - eg_mecm-mepm
89
90 ### Other 3rd party related ###
91
92 - hosts: thirdpartyedge
93   become: yes
94   tags:
95     - thirdpartyedge
96     - edge
97
98   roles:
99     - rabbitmq
100     - prometheus
101     - kubeconfig
102     - mepkubeconfig
103     - cadvisor
104
105 ### Pre-Requisites ###
106
107 - hosts: prerequisiteedge
108   become: yes
109   tags:
110     - prerequisiteedge
111     - edge
112
113   roles:
114     - helm
115
116 ### Infrastructure ###
117 - hosts: edge-infra
118   become: yes
119   tags:
120     - edge-infra
121     - edge
122
123   roles:
124     - k3s
125     - docker