forked from RedHatOfficial/ocp4-vsphere-upi-automation
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathall.yml
executable file
·65 lines (65 loc) · 2.21 KB
/
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
helper_vm_ip: 192.168.86.180
bootstrap_ignition_url: "http://{{helper_vm_ip}}:8080/ignition/bootstrap.ign"
config:
provider: vsphere
base_domain: example.com
cluster_name: ocp4
fips: false
installer_ssh_key: "{{ lookup('file', '~/.ssh/ocp4.pub') }}"
pull_secret: {"auths": ...}
vcenter:
ip: 192.168.86.100
datastore: datastore1
network: VM Network
service_account_username: [email protected]
service_account_password: something
admin_username: [email protected]
admin_password: something
datacenter: dc
folder_absolute_path:
vm_power_state: poweredon
template_name: rhcos-vmware
download:
clients_url: https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest
dependencies_url: https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/latest/latest
govc: https://github.com/vmware/govmomi/releases/download/v0.22.1/govc_linux_amd64.gz
bootstrap_vms:
- { name: "bootstrap", macaddr: "00:50:56:a8:aa:a1", ipaddr: "192.168.86.181"}
master_vms:
- { name: "master0", macaddr: "00:50:56:a8:aa:a2", ipaddr: "192.168.86.182"}
- { name: "master1", macaddr: "00:50:56:a8:aa:a3", ipaddr: "192.168.86.183"}
- { name: "master2", macaddr: "00:50:56:a8:aa:a4", ipaddr: "192.168.86.184"}
worker_vms:
- { name: "worker0", macaddr: "00:50:56:a8:aa:a5", ipaddr: "192.168.86.185"}
- { name: "worker1", macaddr: "00:50:56:a8:aa:a6", ipaddr: "192.168.86.186"}
- { name: "worker2", macaddr: "00:50:56:a8:aa:a7", ipaddr: "192.168.86.187"}
static_ip:
gateway: 192.168.86.1
netmask: 255.255.255.0
network_interface_name: ens192
proxy:
enabled: false
http_proxy: http://helper.ocp4.example.com:3129
https_proxy: http://helper.ocp4.example.com:3129
no_proxy: example.com
cert_content: |
-----BEGIN CERTIFICATE-----
<certficate content>
-----END CERTIFICATE-----
registry:
enabled: false
product_repo: openshift-release-dev
product_release_name: ocp-release
product_release_version: 4.4.0-x86_64
username: ansible
password: ansible
email: [email protected]
cert_content:
host: registry.ocp4.example.com
port: 5000
repo: ocp4/openshift4
ntp:
custom: false
ntp_server_list:
- 0.rhel.pool.ntp.org
- 1.rhel.pool.ntp.org