-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
41 lines (39 loc) · 1.54 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
---
- name: Libvirt IPI Openshift 4
hosts: localhost
vars:
acl_haproxy: "true"
libvirt_api_endpoint: "192.168.122.1"
workdir: "{{ ansible_env.HOME }}"
nestedvirtualization: "true"
pool_location: "/var/lib/libvirt/openshift-images"
nfs_export_path: "/var/lib/libvirt/openshift-nfs"
nfs_storage: "true"
ocp_install_file_path: "install-config.yml"
ocp_install_path: "{{ workdir }}/ocp"
ocp_mirror: "https://mirror.openshift.com/pub/openshift-v4/clients/ocp"
ocp_openshift_installer_repo: "https://github.com/openshift/installer"
ocp_install_install_release_image_registry: "quay.io/openshift-release-dev/ocp-release"
ocp_release: "4.11.20"
ocp_master_memory: 24
ocp_master_cpu: 8
ocp_master_disk: 150
ocp_worker_memory: 32
ocp_worker_cpu: 8
ocp_worker_disk: 150
ocp_api_vip: "192.168.126.11"
ocp_apps_vip: "192.168.126.51"
ocp_cluster_net_gw: "192.168.126.1"
masters_schedulable: "true"
clusteradmin: <CHANGEME clusteradmin>
clusterpassword: <CHANGEME clusterpassword>
#letsencrypt_account_email: <CHANGEME letsencrypt_account_email>
#cloudflare_account_email: <CHANGEME cloudflare_account_email>
#cloudflare_account_api_token: <CHANGEME cloudflare_account_api_token>
support_spice: "true"
roles:
- {role: '01-prepare-host', tags: 'prereq'}
- {role: '02-loadbalancer', tags: 'haproxy'}
- {role: '03-build-openshift-installer', tags: build_installer}
- {role: '04-cluster-install', tags: cluster_install}
- {role: 'day2', tags: day2}