Added Roles for MECM and MEP-Server
[ealt-edge.git] / ocd / infra / playbooks / ealt-all.yml
1 # Copyright 2020 Huawei Technologies Co., Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 ---
16
17 - hosts: infra-k8s
18   become: yes
19   tags:
20   - k8s
21   - infra
22   - mecm
23
24   roles:
25   - k8s
26
27 - hosts: infra-k3s
28   become: yes
29   tags:
30   - k3s
31   - infra
32   - mep
33
34   roles:
35   - k3s
36
37 - hosts: infra-helm
38   become: yes
39   tags:
40   - helm
41
42   roles:
43   - helm
44
45 - hosts: mecm
46   become: yes
47   tags:
48   - infra
49   - infra-mecm
50   - mecm
51
52   roles:
53   - helm
54   - grafana
55   - kubeconfig
56   - mepconfig
57   - applcm
58
59 - hosts: mep
60   become: yes
61   tags:
62   - infra
63   - infra-mep
64   - mep
65
66   roles:
67   - k3s
68   - helm
69   - rabbitmq
70   - prometheus
71   - kubeconfig
72
73 - hosts: mepautomate
74   become: yes
75   tags:
76   - mepautomate
77
78   roles:
79   - mepserver