-
Notifications
You must be signed in to change notification settings - Fork 2
/
metal_ocp_ai_provision.yaml
149 lines (122 loc) · 3.99 KB
/
metal_ocp_ai_provision.yaml
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
---
- name: metal_provision_environment
hosts: localhost
gather_facts: false
vars:
- ansible_python_interpreter: "{{ ansible_playbook_python }}"
tasks:
- name: metal_provision_environment
include_role:
name: metal
tasks_from: play_metal_provision_environment.yaml
- name: metal_provision_opsbox
include_role:
name: metal
tasks_from: play_metal_get_or_provision_opsbox.yaml
- meta: refresh_inventory
- name: metal_configure_opsbox_details
include_role:
name: metal
tasks_from: play_metal_configure_opsbox_details.yaml
- name: opsbox_configure_host
hosts: tag_ocp_opsbox
gather_facts: false
vars:
- ansible_python_interpreter: auto_silent
tasks:
- name: play_opsbox_configure_host
include_role:
name: opsbox
tasks_from: play_opsbox_configure_host.yaml
- name: metal_provision_ocp_hosts
hosts: localhost
gather_facts: false
vars:
- ansible_python_interpreter: "{{ ansible_playbook_python }}"
tasks:
- name: metal_get_or_provision_ocp_control_hosts
include_role:
name: metal
tasks_from: play_metal_get_or_provision_ocp_control_hosts.yaml
- name: metal_get_or_provision_ocp_worker_hosts
include_role:
name: metal
tasks_from: play_metal_get_or_provision_ocp_worker_hosts.yaml
- meta: refresh_inventory
- name: metal_configure_ocp_networking_hosts_details
include_role:
name: metal
tasks_from: play_metal_configure_ocp_networking_hosts_details.yaml
- name: opsbox_configure_dnsmasq
hosts: tag_ocp_opsbox
gather_facts: false
strategy: linear
vars:
- ansible_python_interpreter: auto_silent
tasks:
- name: play_opsbox_configure_dnsmasq
include_role:
name: opsbox
tasks_from: play_opsbox_configure_dnsmasq.yaml
- name: redhat_cloud_create_openshift_cluster_and_configure
hosts: localhost
gather_facts: false
vars:
- ansible_python_interpreter: "{{ ansible_playbook_python }}"
tasks:
- name: redhat_cloud_create_openshift_cluster
include_role:
name: redhat_cloud
tasks_from: play_redhat_cloud_create_openshift_cluster.yaml
- name: redhat_cloud_create_openshift_infra_envs
include_role:
name: redhat_cloud
tasks_from: play_redhat_cloud_create_openshift_infra_envs.yaml
- name: redhat_cloud_openshift_cluster_add_metal_hosts
include_role:
name: redhat_cloud
tasks_from: play_redhat_cloud_openshift_cluster_add_metal_hosts.yaml
- name: opsbox_download_openshift_discovery_iso
hosts: tag_ocp_opsbox
gather_facts: false
vars:
- ansible_python_interpreter: auto_silent
tasks:
- name: opsbox_download_openshift_discovery_iso
include_role:
name: opsbox
tasks_from: play_opsbox_download_openshift_discovery_iso.yaml
- name: metal_reboot_ocp_hosts
hosts: localhost
gather_facts: false
vars:
- ansible_python_interpreter: "{{ ansible_playbook_python }}"
tasks:
- name: metal_reboot_ocp_hosts
include_role:
name: metal
tasks_from: play_metal_reboot_ocp_hosts.yaml
- name: play_redhat_cloud_openshift_cluster_start_cluster_install
hosts: localhost
gather_facts: false
vars:
- ansible_python_interpreter: auto_silent
tasks:
- name: play_redhat_cloud_openshift_cluster_prepare_hosts
include_role:
name: redhat_cloud
tasks_from: play_redhat_cloud_openshift_cluster_prepare_hosts.yaml
- name: play_redhat_cloud_start_openshift_cluster_installation
include_role:
name: redhat_cloud
tasks_from: play_redhat_cloud_start_openshift_cluster_installation.yaml
- name: play_opsbox_template_ipxe_trafficstop_localdisk
hosts: tag_ocp_opsbox
gather_facts: false
vars:
- ansible_python_interpreter: auto_silent
tasks:
- name: play_opsbox_template_ipxe_trafficstop_localdisk
include_role:
name: opsbox
tasks_from: play_opsbox_template_ipxe_trafficstop_localdisk.yaml