-
Notifications
You must be signed in to change notification settings - Fork 1
/
regards.yml
59 lines (54 loc) · 1.55 KB
/
regards.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
- name: Install REGARDS on master node
hosts: master
roles:
- regards-init-master
- name: Install REGARDS plugins on all nodes
hosts: regards_nodes:!swarm_manager_only_nodes
roles:
- regards-plugins-workspace-local
- name: Install REGARDS local workspaces on every nodes
hosts: regards_nodes:!swarm_manager_only_nodes
become: true
roles:
- regards-microservices-workspace-local
- regards-logs-workspace-local
- regards-postgres-workspace-local
- regards-minio-workspace-local
- regards-elasticsearch-workspace-local
- regards-rabbitmq-workspace-local
- regards-loki-workspace-local
- regards-grafana-workspace-local
- regards-prometheus-workspace-local
- regards-workers
- name: Initiate NFS workspaces
hosts: slaves[0]
roles:
- regards-init-nfs-workspaces
- regards-plugins-workspace-nfs
- name: Install SWARM configs and secrets files on master node and deploy stack files
hosts: master
become: true
roles:
- regards-front
- regards-front-ssl
- regards-front-footer
- regards-fluentd-config
- regards-minio-ssl
- regards-postgres-config
- regards-elasticsearch-config
- regards-haproxy-config
- regards-rabbitmq-config
- regards-phppgadmin-config
- regards-loki-config
- regards-prometheus-config
- regards-grafana-config
- regards-mconfig
- regards-logback
- regards-mounts-secrets-configs
- regards-ca-certificates
- regards-stack
- name: Deploy REGARDS using Swarm
hosts: master
roles:
- regards-stack-start