Private insecure-registries functionality added
[ealt-edge.git] / ocd / infra / playbooks / ealt-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 ############ Center ############
34
35 ### EdgeGallery related ###
36
37 - hosts: egcenter
38   become: yes
39   tags:
40     - egcenter
41     - center
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: thirdpartycenter
55   become: yes
56   tags:
57     - thirdpartycenter
58     - center
59
60   roles:
61     - grafana
62
63 ### Pre-Requisites ###
64
65 - hosts: prerequisitecenter
66   become: yes
67   tags:
68     - prerequisitecenter
69     - center
70
71   roles:
72     - kubeconfig
73     - helm
74
75 ### Infrastructure ###
76
77 - hosts: center-infra
78   become: yes
79   tags:
80     - center-infra
81     - center
82
83   roles:
84     - k8s
85
86 ############ Edge ############
87
88 ### EdgeGallery related ###
89
90 - hosts: egedge
91   become: yes
92   tags:
93     - egedge
94     - edge
95
96   roles:
97     - eg_secret
98     - eg_mep
99     - eg_mecm-mepm
100
101 ### Other 3rd party related ###
102
103 - hosts: thirdpartyedge
104   become: yes
105   tags:
106     - thirdpartyedge
107     - edge
108
109   roles:
110     - rabbitmq
111     - prometheus
112     - kubeconfig
113     - mepkubeconfig
114     - cadvisor
115
116 ### Pre-Requisites ###
117
118 - hosts: prerequisiteedge
119   become: yes
120   tags:
121     - prerequisiteedge
122     - edge
123
124   roles:
125     - helm
126
127 ### Infrastructure ###
128 - hosts: edge-infra
129   become: yes
130   tags:
131     - edge-infra
132     - edge
133
134   roles:
135     - k3s
136     - docker