-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
116 lines (94 loc) · 4.31 KB
/
main.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
# Deploys the entire Estuary Hosted Infrastructure stack.
# - name: Load vaulted secrets
# ansible.builtin.import_playbook: playbooks/vault-secrets/site.yml
## Stage 0 payloads - Primitives
# - import_playbook: playbooks/name.yml # s00-01-routerconfigs/
# - import_playbook: playbooks/name.yml # s00-02-switchconfigs/
# - import_playbook: playbooks/name.yml # s00-03-physical/
# - import_playbook: playbooks/name.yml # s00-04-disable-lacp/
## Stage 1 payloads - Groundfloor
# - import_playbook: playbooks/name.yml # s01-01-proxmox/
# - import_playbook: playbooks/name.yml # s01-02-ceph/
## Stage 2 payloads - Estuary Bootstrap Infrastructure + Genesis
# - import_playbook: playbooks/name.yml # s02-01-genesis/
# - import_playbook: playbooks/name.yml # s02-02-dns/
### s02-03-moosefs - Production MooseFS Cluster
- name: Create production HAProxy cluster
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-moosefs-m
# - import_playbook: playbooks/moosefs-playbook/site.yml # s02-03-moosefs/
# - import_playbook: playbooks/name.yml # s02-04-tls-bastion/
# - import_playbook: playbooks/name.yml # s02-05-haproxy/
### s02-05-haproxy - Production HAProxy Cluster (HALCluster)
- name: Create production HAProxy cluster
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-haproxy
- name: Create dev HAProxy cluster
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: dev-haproxy
- name: Deploy TLS certificates using Wildcard TLS Playbook
ansible.builtin.import_playbook: playbooks/wildcard-tls-playbook/site.yml
vars:
refresh_inventory: true
- name: Deploy production HAProxy cluster
ansible.builtin.import_playbook: playbooks/haproxy-cluster-playbook/site.yml
vars:
refresh_inventory: true
# - import_playbook: playbooks/name.yml # s02-06-ebi-db/
- name: Create production EBI PostgreSQL cluster
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-ebi-db
- name: Deploy production EBI PostgreSQL cluster
ansible.builtin.import_playbook: playbooks/estuary-postgres-playbook/site.yml
### s02-07-ebi - Estuary Bootstrap Infrastructure
- name: Create dev-ebi-k8s control plane nodes
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: dev-ebi-k8s-m
- name: Create prod-ebi-k8s control plane nodes
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-ebi-k8s-m
# Deploy Estuary Bootstrap Infrastructure
# - import_playbook: playbooks/ehi-bootstrap-playbook/site.yml
# vars:
# refresh_inventory: true
# - import_playbook: playbooks/name.yml # s02-08-bastion/
# - import_playbook: playbooks/name.yml # s02-09-nautobot/
# - import_playbook: playbooks/name.yml # s03-01-maas/
- name: Create production EHI PostgreSQL cluster
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-ehi-db
# - import_playbook: playbooks/name.yml # s04-01-ehi-db/
- name: Create production EHI PostgreSQL cluster
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-ehi-api-db
- name: Deploy production EHI PostgreSQL clusters
ansible.builtin.import_playbook: playbooks/estuary-postgres-playbook/site.yml
# - import_playbook: playbooks/name.yml # s04-02-ehi-api-db/
# - import_playbook: playbooks/name.yml # s04-03-ehi-api-nsq/
# - import_playbook: playbooks/name.yml # s04-04-ehi-api/
# - import_playbook: playbooks/name.yml # s04-05-ehi-edge/
### s04-06-phos-k8s - Deploy EHI Production Kubernetes Cluster
- name: Create production EHI Kubernetes Cluster - Control plane nodes
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-phos-k8s-m
- name: Create production EHI Kubernetes Cluster - Worker nodes
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-phos-k8s-w
# - import_playbook: playbooks/name.yml # s04-06-phos-k8s/
### s04-07-ehi-delta - Deploy EHI Delta Cluster
- name: Create production Delta cluster
ansible.builtin.import_playbook: playbooks/ehi-proxmaas/spawn.yml
vars:
machine_details: prod-ehi-delta
#- import_playbook: playbooks/delta-playbook/deploy.yml # s04-07-ehi-delta/