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