-
Notifications
You must be signed in to change notification settings - Fork 10
/
deploy_all.yml
85 lines (75 loc) · 2.41 KB
/
deploy_all.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
---
- name: '[OCP4-AUTO-INSTALL] Deploy an Openshift4 cluster'
hosts: localhost
connection: local
vars_files:
- vars/vars.yml
- vault/vault.yml
tasks:
- name: '[OCP4-AUTO-INSTALL][PREREQS] Prerequisites for the installation'
include_role:
name: "{{ item }}"
loop:
- common
- awscli
when:
- only_post_install != True
- name: '[OCP4-AUTO-INSTALL][INSTALL] Installation of the OCP4 Cluster'
include_role:
name: "ocp4-install"
when:
- only_post_install != True
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][CERT-MANAGER] Configure Cert-Manager'
include_role:
name: "ocp4-post-cert-manager"
when:
- cmanager is defined
- cmanager | bool
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][WORKER-NODES] Configure Worker Nodes'
include_role:
name: "ocp4-post-worker-nodes"
when:
- worker_nodes is defined
- worker_nodes | bool
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][INFRA-NODES] Deploy and configure Infra Nodes'
include_role:
name: "ocp4-post-infra-nodes"
when:
- infra_nodes is defined
- infra_nodes | bool
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][OAUTH] Configure OAuth'
include_role:
name: "ocp4-post-oauth"
when:
- oauth is defined
- oauth != False
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][LOGGING] Install and configure Logging'
include_role:
name: "ocp4-post-logging"
when:
- logging is defined
- logging | bool
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][MONITORING] Configure Monitoring'
include_role:
name: "ocp4-post-monitoring"
when:
- monitoring is defined
- monitoring | bool
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][REGISTRY] Install and configure Registry'
include_role:
name: "ocp4-post-registry"
when:
- registry is defined
- registry | bool
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL][SERVICE-MESH] Install and configure Service Mesh'
include_role:
name: "ocp4-post-service-mesh"
when:
- service_mesh is defined
- service_mesh | bool
- name: '[OCP4-AUTO-INSTALL][POST-INSTALL] Install and configure Argocd'
include_role:
name: "ocp4-post-argocd"
when:
- argocd is defined
- argocd | bool